2251440f04
* Add dependency on KN shared in gradle-plugin
* Basic support for Kotlin/Native:
* Target presets
* Compilation into a klib
* Compilation into native binraies: framework and executable
* Basic dependencies between projects
* No jars in native publications
* Replace '-' with '_' in framework names
* Escape quotes in native command lines on Windows
* Move targets from Kotlin/Native repo
* Download KN compiler using Gradle's mechanisms
* Support source set dependencies in native
31 lines
497 B
Groovy
31 lines
497 B
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'maven'
|
|
apply plugin: 'jps-compatible'
|
|
|
|
configureJvmProject(project)
|
|
configurePublishing(project)
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
}
|
|
|
|
pill {
|
|
variant = "FULL"
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':kotlin-stdlib')
|
|
compile project('::konan:konan-utils')
|
|
|
|
compileOnly gradleApi()
|
|
compileOnly 'com.android.tools.build:gradle:0.4.2'
|
|
}
|
|
|
|
artifacts {
|
|
archives sourcesJar
|
|
archives javadocJar
|
|
}
|
|
|
|
jar {
|
|
manifestAttributes(manifest, project)
|
|
} |