Improve tooling model + add Gradle version checking (#1602)
* [gradle-plugin] Add tests for IDE model * [gradle-plugin] Check Gradle version * [gradle-plugin] Provide language, api and konan version in the model * [gradle-plugin] Use String instead of KonanTarget in the IDE model * [gradle-plugin] Rename Produce -> KonanOutput * [version] Make KonanVersion an interface to allow passing it to IDE * [gradle-plugin] Replace KonanOutput with CompilerOutputKind * [gradle-plugin] Don't override usual jar with a fat one * [gradle-plugin] Fix IDE model tests * [gradle-plugin] Add library search paths in IDE model * [gradle-plugin] Use 4.7 as a required version for the plugin * [gradle-plugin] "Kotlinfy" the version check
This commit is contained in:
@@ -45,7 +45,7 @@ apply plugin: 'com.jfrog.bintray'
|
||||
apply plugin: 'com.github.johnrengelman.shadow'
|
||||
|
||||
group = 'org.jetbrains.kotlin'
|
||||
version = KonanVersion.CURRENT.gradlePluginVersion
|
||||
version = KonanVersion.Companion.CURRENT.toString()
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@@ -76,11 +76,17 @@ dependencies {
|
||||
}
|
||||
}
|
||||
|
||||
jar {
|
||||
appendix = "no-shared"
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
configurations = [project.configurations.bundleDependencies]
|
||||
classifier = null
|
||||
}
|
||||
|
||||
assemble.dependsOn shadowJar
|
||||
|
||||
test {
|
||||
systemProperty("kotlin.version", buildKotlinVersion)
|
||||
if (project.hasProperty("konan.home")) {
|
||||
|
||||
Reference in New Issue
Block a user