Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
Updates since v0.1.1
- Build script dependencies and external plugins (#29). Dependencies can now be added to the build script classpath using the
buildscriptblock, and any plugins resolved there can be applied using the
samples/hello-kotlin/build.gradle.ktsfor an example.
- Seamless project import into IDEA (#26, #43). Importing projects with Kotlin-based builds into IDEA no longer requires running the
patchIdeaConfigtasks, as configuring the Kotlin IDEA plugin and creating an appropriate IDEA library is now handled automatically. Installing the latest dev build of the Kotlin IDEA plugin remains a pre-requisite. See
samples/READMEfor complete instructions.
- Implicit imports (#33, #57). Members of the commonly-used packages
org.gradle.api.pluginsare now imported by default into all Kotlin-based Gradle build scripts, resulting in less boilerplate. See commit
a866610for an example of the difference this creates.
- Externally-defined properties (#60). It is now possible to reference project properties by declaring a
valdelegated to the build script's enclosing
projectobject. This approach provides a strong contract for which properties should be available to the build script, while remaining agnostic as to how those projects are actually declared—be it via
-Pflags or otherwise. See
samples/project-properties/build.gradle.ktsfor an example.
- Convenient alternatives to string-based dependency configurations (#36). Prior to this release, dependency configurations were expressed as strings, e.g.
"compile"("org.foo:mylib:1.0"). This approach is still supported, but extension functions such as
testCompileare now available as a a more convenient and tooling-friendly alternative.