Pill: Introduce pill{} extension to set extended Pill configuration

Also introduce the flavor concept which allows to specify what part of Kotlin project should be imported.
This commit is contained in:
Yan Zhulanow
2018-04-20 18:45:23 +03:00
parent a57869993d
commit ba5836d666
19 changed files with 133 additions and 56 deletions
+4 -1
View File
@@ -1,12 +1,15 @@
description 'Kotlin Script Runtime'
apply plugin: 'kotlin'
apply plugin: 'pill-configurable'
configureJvm6Project(project)
configureDist(project)
configurePublishing(project)
project.ext["jpsLibraryPath"] = rootProject.distLibDir
pill {
importAsLibrary = true
}
dependencies {
compileOnly project(path: ':kotlin-stdlib', configuration: 'distJar')