862c68b5c5
By convention, gradle uses project name as artifactId, `project.group` property for groupId and `project.version` for version. This commit switches to this convention instead of configuring publication tasks directly. It allows to easily substitute published plugin with a plugin build locally by issuing `./gradlew build --include-build ../kotlin-native` in the dependent project.
20 lines
450 B
Groovy
20 lines
450 B
Groovy
subprojects {
|
|
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
classpath "org.jetbrains.kotlin:kotlin-native-gradle-plugin:+"
|
|
}
|
|
}
|
|
}
|
|
|
|
task buildSh(type: Exec) {
|
|
commandLine "${projectDir.canonicalPath}/build.sh"
|
|
workingDir projectDir.canonicalPath
|
|
}
|