mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
Build scripts: use setupKotlinPlugin task name
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
</condition>
|
||||
<exec executable="${gradle.executable}" dir="${project.home}/build/dependencies" failonerror="true">
|
||||
<arg value="--no-daemon"/>
|
||||
<arg value="setupKotlin"/>
|
||||
<arg value="setupKotlinPlugin"/>
|
||||
</exec>
|
||||
<propertyset id="intellij.build.properties">
|
||||
<propertyref name="build.number"/>
|
||||
|
||||
@@ -110,7 +110,7 @@ binding.setVariable("loadProject", {
|
||||
bundledKotlinPath = "$home/community/build/dependencies/build/kotlin/Kotlin/kotlinc"
|
||||
}
|
||||
if (!new File(bundledKotlinPath, "lib/kotlin-runtime.jar").exists()) {
|
||||
projectBuilder.error("Could not find Kotlin runtime at $bundledKotlinPath/lib/kotlin-runtime.jar: run `./gradlew setupKotlin` in dependencies module to download Kotlin JARs")
|
||||
projectBuilder.error("Could not find Kotlin runtime at $bundledKotlinPath/lib/kotlin-runtime.jar: run `./gradlew setupKotlinPlugin` in dependencies module to download Kotlin JARs")
|
||||
return
|
||||
}
|
||||
setPathVariable("KOTLIN_BUNDLED", bundledKotlinPath)
|
||||
@@ -159,7 +159,7 @@ private boolean ensureKotlinCompilerAddedToClassPath() {
|
||||
kotlinPluginLibPath = "$home/community/build/dependencies/build/kotlin/Kotlin/lib"
|
||||
}
|
||||
if (!new File(kotlinPluginLibPath, "kotlin-runtime.jar").exists()) {
|
||||
projectBuilder.error("Could not find Kotlin JARs at $kotlinPluginLibPath: run `./gradlew setupKotlin` in dependencies module " +
|
||||
projectBuilder.error("Could not find Kotlin JARs at $kotlinPluginLibPath: run `./gradlew setupKotlinPlugin` in dependencies module " +
|
||||
"to download Kotlin JARs")
|
||||
return false
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</condition>
|
||||
<exec executable="${gradle.executable}" dir="${project.home}/build/dependencies" failonerror="true">
|
||||
<arg value="--no-daemon"/>
|
||||
<arg value="setupKotlin"/>
|
||||
<arg value="setupKotlinPlugin"/>
|
||||
</exec>
|
||||
<java failonerror="true" classname="org.apache.tools.ant.Main" fork="true">
|
||||
<jvmarg line="-Xms64m -Xmx512m"/>
|
||||
|
||||
@@ -146,7 +146,7 @@ class CompilationContextImpl implements CompilationContext {
|
||||
}
|
||||
else {
|
||||
messages.error(
|
||||
"Could not find Kotlin JARs at $kotlinPluginLibPath: run `./gradlew setupKotlin` in dependencies module to download Kotlin JARs")
|
||||
"Could not find Kotlin JARs at $kotlinPluginLibPath: run `./gradlew setupKotlinPlugin` in dependencies module to download Kotlin JARs")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user