Fix kotlin-serialization plugins build scripts
1. There is no need to specify repositories. 2. We don't use 'org.jetbrains.kotlin:gradle-api:1.6' anymore. 3. kotlin-serialization-unshaded does not need dependencies, because it does not contain source code (it simply packages jar).
This commit is contained in:
@@ -9,21 +9,6 @@ compileJava {
|
|||||||
options.fork = false
|
options.fork = false
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenLocal()
|
|
||||||
jcenter()
|
|
||||||
maven { url 'http://repository.jetbrains.com/utils' }
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
compileOnly project(':kotlin-gradle-plugin-api')
|
|
||||||
|
|
||||||
compileOnly project(':kotlin-stdlib')
|
|
||||||
compileOnly project(path: ':kotlin-compiler-embeddable', configuration: 'runtimeJar')
|
|
||||||
|
|
||||||
compileOnly 'org.jetbrains.kotlin:gradle-api:1.6'
|
|
||||||
}
|
|
||||||
|
|
||||||
evaluationDependsOn(":kotlinx-serialization-compiler-plugin")
|
evaluationDependsOn(":kotlinx-serialization-compiler-plugin")
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
|
|||||||
@@ -9,20 +9,12 @@ compileJava {
|
|||||||
options.fork = false
|
options.fork = false
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenLocal()
|
|
||||||
jcenter()
|
|
||||||
maven { url 'http://repository.jetbrains.com/utils' }
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly project(':kotlin-gradle-plugin')
|
compileOnly project(':kotlin-gradle-plugin')
|
||||||
compileOnly project(':kotlin-gradle-plugin-api')
|
compileOnly project(':kotlin-gradle-plugin-api')
|
||||||
|
|
||||||
compileOnly project(':kotlin-stdlib')
|
compileOnly project(':kotlin-stdlib')
|
||||||
compileOnly project(path: ':kotlin-compiler-embeddable', configuration: 'runtimeJar')
|
compileOnly project(path: ':kotlin-compiler-embeddable', configuration: 'runtimeJar')
|
||||||
|
|
||||||
compileOnly 'org.jetbrains.kotlin:gradle-api:1.6'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
evaluationDependsOn(":kotlinx-serialization-compiler-plugin")
|
evaluationDependsOn(":kotlinx-serialization-compiler-plugin")
|
||||||
|
|||||||
Reference in New Issue
Block a user