Build: Centralize build logic for kotlin-plugin in :prepare:idea-plugin
This commit is contained in:
@@ -25,7 +25,7 @@ sourceSets {
|
||||
|
||||
publish()
|
||||
|
||||
val jar = runtimeJar {}
|
||||
runtimeJar()
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
testsJar {}
|
||||
@@ -34,10 +34,6 @@ dist {
|
||||
rename("kotlin-", "")
|
||||
}
|
||||
|
||||
ideaPlugin {
|
||||
from(jar)
|
||||
}
|
||||
|
||||
projectTest {
|
||||
dependsOn(":kotlin-stdlib:jvm-minimal-for-test:dist")
|
||||
workingDir = rootDir
|
||||
|
||||
@@ -35,14 +35,12 @@ tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
|
||||
|
||||
publish()
|
||||
|
||||
val jar = runtimeJar {}
|
||||
runtimeJar()
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
dist()
|
||||
|
||||
ideaPlugin()
|
||||
|
||||
projectTest {
|
||||
workingDir = rootDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user