Add script runtime, refactorings
This commit is contained in:
committed by
Ilya Gorbunov
parent
c2c051cfe8
commit
ed9221cb7d
@@ -0,0 +1,30 @@
|
||||
|
||||
description 'Kotlin Script Runtime'
|
||||
|
||||
dependencies {
|
||||
compile project(':kotlin-runtime')
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
kotlin {
|
||||
srcDir "${rootDir}/../core/script.runtime/src"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes 'Kotlin-Runtime-Component': 'Core',
|
||||
'Implementation-Title': "${project.description ?: project.name}"
|
||||
}
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourcesJar
|
||||
archives javadocJar
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-module-name", "${project.name}".toString()]
|
||||
}
|
||||
Reference in New Issue
Block a user