Kotlin-dsl-samples: Add kotlin-dsl build scripts support to gradle init

Created on 20 Jan 2017  路  5Comments  路  Source: gradle/kotlin-dsl-samples

gradle init --dsl=kotlin --type java-library
gradle init --dsl=kotlin --type java-application
feature ease-of-use

Most helpful comment

I think Kotlin is orthogonal to the project type. Consider adding --script-language

All 5 comments

I think Kotlin is orthogonal to the project type. Consider adding --script-language

+1000 to considering DSL language used to define the build as a separate concern to the type of software the build produces.

I'd use something like --dsl-language or --kotlin-build-scripts or whatever as the name of the option, rather than --script-language, just to make it clear that it affects the build scripts rather than the source files of the software being built.

Issue on the gradle/gradle board: https://github.com/gradle/gradle/issues/1673

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jaredsburrows picture jaredsburrows  路  3Comments

ilya-g picture ilya-g  路  4Comments

cbeams picture cbeams  路  3Comments

deeprim picture deeprim  路  4Comments

mkobit picture mkobit  路  3Comments