Rearrange and rename idea-plugin related and annotation-processing modules
This commit is contained in:
+2
-2
@@ -269,14 +269,14 @@ tasks {
|
|||||||
dependsOn("dist")
|
dependsOn("dist")
|
||||||
dependsOn(":plugins:android-extensions-idea:test",
|
dependsOn(":plugins:android-extensions-idea:test",
|
||||||
":idea:idea-android:test",
|
":idea:idea-android:test",
|
||||||
":plugins:kapt3:test",
|
":kotlin-annotation-processing:test",
|
||||||
":compiler:android-tests:test")
|
":compiler:android-tests:test")
|
||||||
}
|
}
|
||||||
|
|
||||||
"plugins-tests" {
|
"plugins-tests" {
|
||||||
dependsOn("dist")
|
dependsOn("dist")
|
||||||
dependsOn(":plugins:plugins-tests:test",
|
dependsOn(":plugins:plugins-tests:test",
|
||||||
":plugins:kapt3:test",
|
":kotlin-annotation-processing:test",
|
||||||
":kotlin-source-sections-compiler-plugin:test",
|
":kotlin-source-sections-compiler-plugin:test",
|
||||||
":plugins:uast-kotlin:test",
|
":plugins:uast-kotlin:test",
|
||||||
":kotlin-annotation-processing")
|
":kotlin-annotation-processing")
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ dependencies {
|
|||||||
compile(projectTests(":jps-plugin"))
|
compile(projectTests(":jps-plugin"))
|
||||||
compile(projectTests(":plugins:plugins-tests"))
|
compile(projectTests(":plugins:plugins-tests"))
|
||||||
compile(projectTests(":plugins:android-extensions-idea"))
|
compile(projectTests(":plugins:android-extensions-idea"))
|
||||||
compile(projectTests(":plugins:kapt3"))
|
compile(projectTests(":kotlin-annotation-processing"))
|
||||||
compile(projectTests(":plugins:uast-kotlin"))
|
compile(projectTests(":plugins:uast-kotlin"))
|
||||||
compile(projectTests(":js:js.tests"))
|
compile(projectTests(":js:js.tests"))
|
||||||
compile(protobufFull())
|
compile(protobufFull())
|
||||||
@@ -33,7 +33,6 @@ dependencies {
|
|||||||
testCompile(project(":compiler.tests-common"))
|
testCompile(project(":compiler.tests-common"))
|
||||||
testCompile(project(":idea:idea-test-framework")) { isTransitive = false }
|
testCompile(project(":idea:idea-test-framework")) { isTransitive = false }
|
||||||
testCompile(project(":compiler:incremental-compilation-impl"))
|
testCompile(project(":compiler:incremental-compilation-impl"))
|
||||||
testCompile(project(":plugins:kapt3"))
|
|
||||||
testCompile(commonDep("junit:junit"))
|
testCompile(commonDep("junit:junit"))
|
||||||
testCompile(ideaSdkDeps("openapi", "idea"))
|
testCompile(ideaSdkDeps("openapi", "idea"))
|
||||||
testCompile(preloadedDeps("uast-tests"))
|
testCompile(preloadedDeps("uast-tests"))
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ org.gradle.jvmargs=-Xmx1200m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepi
|
|||||||
|
|
||||||
systemProp.bootstrap.kotlin.repo=https://dl.bintray.com/kotlin/kotlin-dev
|
systemProp.bootstrap.kotlin.repo=https://dl.bintray.com/kotlin/kotlin-dev
|
||||||
systemProp.bootstrap.kotlin.version=1.1.5-dev-640
|
systemProp.bootstrap.kotlin.version=1.1.5-dev-640
|
||||||
|
#signingRequired=true
|
||||||
|
|||||||
+182
-251
@@ -13,6 +13,43 @@
|
|||||||
"buildScan": "com.gradle.scan.plugin.internal.api.f"
|
"buildScan": "com.gradle.scan.plugin.internal.api.f"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
":allopen-ide-plugin": {
|
||||||
|
"conventions": {
|
||||||
|
"base": "org.gradle.api.plugins.BasePluginConvention",
|
||||||
|
"java": "org.gradle.api.plugins.JavaPluginConvention"
|
||||||
|
},
|
||||||
|
"configurations": [
|
||||||
|
"apiElements",
|
||||||
|
"archives",
|
||||||
|
"buildVersion",
|
||||||
|
"compile",
|
||||||
|
"compileClasspath",
|
||||||
|
"compileOnly",
|
||||||
|
"default",
|
||||||
|
"implementation",
|
||||||
|
"kapt",
|
||||||
|
"kaptTest",
|
||||||
|
"runtime",
|
||||||
|
"runtimeClasspath",
|
||||||
|
"runtimeElements",
|
||||||
|
"runtimeJar",
|
||||||
|
"runtimeOnly",
|
||||||
|
"testCompile",
|
||||||
|
"testCompileClasspath",
|
||||||
|
"testCompileOnly",
|
||||||
|
"testImplementation",
|
||||||
|
"testRuntime",
|
||||||
|
"testRuntimeClasspath",
|
||||||
|
"testRuntimeOnly"
|
||||||
|
],
|
||||||
|
"extensions": {
|
||||||
|
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
||||||
|
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
||||||
|
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
||||||
|
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
||||||
|
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
||||||
|
}
|
||||||
|
},
|
||||||
":android-extensions-compiler": {
|
":android-extensions-compiler": {
|
||||||
"conventions": {
|
"conventions": {
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
"base": "org.gradle.api.plugins.BasePluginConvention",
|
||||||
@@ -464,6 +501,48 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
":kotlin-annotation-processing": {
|
":kotlin-annotation-processing": {
|
||||||
|
"conventions": {
|
||||||
|
"base": "org.gradle.api.plugins.BasePluginConvention",
|
||||||
|
"java": "org.gradle.api.plugins.JavaPluginConvention",
|
||||||
|
"maven": "org.gradle.api.plugins.MavenPluginConvention"
|
||||||
|
},
|
||||||
|
"configurations": [
|
||||||
|
"apiElements",
|
||||||
|
"archives",
|
||||||
|
"buildVersion",
|
||||||
|
"compile",
|
||||||
|
"compileClasspath",
|
||||||
|
"compileOnly",
|
||||||
|
"default",
|
||||||
|
"distJar",
|
||||||
|
"implementation",
|
||||||
|
"kapt",
|
||||||
|
"kaptTest",
|
||||||
|
"runtime",
|
||||||
|
"runtimeClasspath",
|
||||||
|
"runtimeElements",
|
||||||
|
"runtimeJar",
|
||||||
|
"runtimeOnly",
|
||||||
|
"signatures",
|
||||||
|
"testCompile",
|
||||||
|
"testCompileClasspath",
|
||||||
|
"testCompileOnly",
|
||||||
|
"testImplementation",
|
||||||
|
"testRuntime",
|
||||||
|
"testRuntimeClasspath",
|
||||||
|
"testRuntimeOnly",
|
||||||
|
"tests-jar"
|
||||||
|
],
|
||||||
|
"extensions": {
|
||||||
|
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
||||||
|
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
||||||
|
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
||||||
|
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
||||||
|
"reporting": "org.gradle.api.reporting.ReportingExtension",
|
||||||
|
"signing": "org.gradle.plugins.signing.SigningExtension"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
":kotlin-annotation-processing-gradle": {
|
||||||
"conventions": {
|
"conventions": {
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
"base": "org.gradle.api.plugins.BasePluginConvention",
|
||||||
"java": "org.gradle.api.plugins.JavaPluginConvention"
|
"java": "org.gradle.api.plugins.JavaPluginConvention"
|
||||||
@@ -471,6 +550,7 @@
|
|||||||
"configurations": [
|
"configurations": [
|
||||||
"apiElements",
|
"apiElements",
|
||||||
"archives",
|
"archives",
|
||||||
|
"buildVersion",
|
||||||
"compile",
|
"compile",
|
||||||
"compileClasspath",
|
"compileClasspath",
|
||||||
"compileOnly",
|
"compileOnly",
|
||||||
@@ -481,6 +561,7 @@
|
|||||||
"runtime",
|
"runtime",
|
||||||
"runtimeClasspath",
|
"runtimeClasspath",
|
||||||
"runtimeElements",
|
"runtimeElements",
|
||||||
|
"runtimeJar",
|
||||||
"runtimeOnly",
|
"runtimeOnly",
|
||||||
"testCompile",
|
"testCompile",
|
||||||
"testCompileClasspath",
|
"testCompileClasspath",
|
||||||
@@ -589,12 +670,14 @@
|
|||||||
"fatJarContents",
|
"fatJarContents",
|
||||||
"fatSourcesJarContents",
|
"fatSourcesJarContents",
|
||||||
"proguardLibraryJars",
|
"proguardLibraryJars",
|
||||||
"runtimeJar"
|
"runtimeJar",
|
||||||
|
"signatures"
|
||||||
],
|
],
|
||||||
"extensions": {
|
"extensions": {
|
||||||
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
"reporting": "org.gradle.api.reporting.ReportingExtension",
|
||||||
|
"signing": "org.gradle.plugins.signing.SigningExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":kotlin-compiler-client-embeddable": {
|
":kotlin-compiler-client-embeddable": {
|
||||||
@@ -620,6 +703,7 @@
|
|||||||
"runtimeElements",
|
"runtimeElements",
|
||||||
"runtimeJar",
|
"runtimeJar",
|
||||||
"runtimeOnly",
|
"runtimeOnly",
|
||||||
|
"signatures",
|
||||||
"testCompile",
|
"testCompile",
|
||||||
"testCompileClasspath",
|
"testCompileClasspath",
|
||||||
"testCompileOnly",
|
"testCompileOnly",
|
||||||
@@ -636,7 +720,8 @@
|
|||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
||||||
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
||||||
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
"reporting": "org.gradle.api.reporting.ReportingExtension",
|
||||||
|
"signing": "org.gradle.plugins.signing.SigningExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":kotlin-compiler-embeddable": {
|
":kotlin-compiler-embeddable": {
|
||||||
@@ -649,11 +734,13 @@
|
|||||||
"buildVersion",
|
"buildVersion",
|
||||||
"compilerJar",
|
"compilerJar",
|
||||||
"default",
|
"default",
|
||||||
"runtimeJar"
|
"runtimeJar",
|
||||||
|
"signatures"
|
||||||
],
|
],
|
||||||
"extensions": {
|
"extensions": {
|
||||||
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet"
|
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
||||||
|
"signing": "org.gradle.plugins.signing.SigningExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":kotlin-daemon-client": {
|
":kotlin-daemon-client": {
|
||||||
@@ -1071,41 +1158,13 @@
|
|||||||
},
|
},
|
||||||
":kotlin-runtime": {
|
":kotlin-runtime": {
|
||||||
"conventions": {
|
"conventions": {
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
|
||||||
"java": "org.gradle.api.plugins.JavaPluginConvention",
|
|
||||||
"maven": "org.gradle.api.plugins.MavenPluginConvention"
|
|
||||||
},
|
},
|
||||||
"configurations": [
|
"configurations": [
|
||||||
"apiElements",
|
|
||||||
"archives",
|
|
||||||
"compile",
|
|
||||||
"compileClasspath",
|
|
||||||
"compileOnly",
|
|
||||||
"default",
|
|
||||||
"distJar",
|
|
||||||
"implementation",
|
|
||||||
"kapt",
|
|
||||||
"kaptTest",
|
|
||||||
"runtime",
|
|
||||||
"runtimeClasspath",
|
|
||||||
"runtimeElements",
|
|
||||||
"runtimeOnly",
|
|
||||||
"signatures",
|
|
||||||
"testCompile",
|
|
||||||
"testCompileClasspath",
|
|
||||||
"testCompileOnly",
|
|
||||||
"testImplementation",
|
|
||||||
"testRuntime",
|
|
||||||
"testRuntimeClasspath",
|
|
||||||
"testRuntimeOnly"
|
|
||||||
],
|
],
|
||||||
"extensions": {
|
"extensions": {
|
||||||
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension"
|
||||||
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
|
||||||
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension",
|
|
||||||
"signing": "org.gradle.plugins.signing.SigningExtension"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":kotlin-sam-with-receiver": {
|
":kotlin-sam-with-receiver": {
|
||||||
@@ -1170,6 +1229,7 @@
|
|||||||
"runtimeElements",
|
"runtimeElements",
|
||||||
"runtimeJar",
|
"runtimeJar",
|
||||||
"runtimeOnly",
|
"runtimeOnly",
|
||||||
|
"signatures",
|
||||||
"testCompile",
|
"testCompile",
|
||||||
"testCompileClasspath",
|
"testCompileClasspath",
|
||||||
"testCompileOnly",
|
"testCompileOnly",
|
||||||
@@ -1183,7 +1243,8 @@
|
|||||||
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
||||||
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
"reporting": "org.gradle.api.reporting.ReportingExtension",
|
||||||
|
"signing": "org.gradle.plugins.signing.SigningExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":kotlin-script-runtime": {
|
":kotlin-script-runtime": {
|
||||||
@@ -1248,6 +1309,7 @@
|
|||||||
"runtimeElements",
|
"runtimeElements",
|
||||||
"runtimeJar",
|
"runtimeJar",
|
||||||
"runtimeOnly",
|
"runtimeOnly",
|
||||||
|
"signatures",
|
||||||
"testCompile",
|
"testCompile",
|
||||||
"testCompileClasspath",
|
"testCompileClasspath",
|
||||||
"testCompileOnly",
|
"testCompileOnly",
|
||||||
@@ -1261,7 +1323,8 @@
|
|||||||
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
||||||
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
"reporting": "org.gradle.api.reporting.ReportingExtension",
|
||||||
|
"signing": "org.gradle.plugins.signing.SigningExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":kotlin-source-sections-compiler-plugin": {
|
":kotlin-source-sections-compiler-plugin": {
|
||||||
@@ -1287,6 +1350,7 @@
|
|||||||
"runtimeElements",
|
"runtimeElements",
|
||||||
"runtimeJar",
|
"runtimeJar",
|
||||||
"runtimeOnly",
|
"runtimeOnly",
|
||||||
|
"signatures",
|
||||||
"testCompile",
|
"testCompile",
|
||||||
"testCompileClasspath",
|
"testCompileClasspath",
|
||||||
"testCompileOnly",
|
"testCompileOnly",
|
||||||
@@ -1300,7 +1364,8 @@
|
|||||||
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
||||||
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
"reporting": "org.gradle.api.reporting.ReportingExtension",
|
||||||
|
"signing": "org.gradle.plugins.signing.SigningExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":kotlin-stdlib": {
|
":kotlin-stdlib": {
|
||||||
@@ -1319,6 +1384,7 @@
|
|||||||
"annotationsRuntimeOnly",
|
"annotationsRuntimeOnly",
|
||||||
"apiElements",
|
"apiElements",
|
||||||
"archives",
|
"archives",
|
||||||
|
"builtins",
|
||||||
"builtinsCompile",
|
"builtinsCompile",
|
||||||
"builtinsCompileClasspath",
|
"builtinsCompileClasspath",
|
||||||
"builtinsCompileOnly",
|
"builtinsCompileOnly",
|
||||||
@@ -1531,6 +1597,43 @@
|
|||||||
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension"
|
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
":noarg-ide-plugin": {
|
||||||
|
"conventions": {
|
||||||
|
"base": "org.gradle.api.plugins.BasePluginConvention",
|
||||||
|
"java": "org.gradle.api.plugins.JavaPluginConvention"
|
||||||
|
},
|
||||||
|
"configurations": [
|
||||||
|
"apiElements",
|
||||||
|
"archives",
|
||||||
|
"buildVersion",
|
||||||
|
"compile",
|
||||||
|
"compileClasspath",
|
||||||
|
"compileOnly",
|
||||||
|
"default",
|
||||||
|
"implementation",
|
||||||
|
"kapt",
|
||||||
|
"kaptTest",
|
||||||
|
"runtime",
|
||||||
|
"runtimeClasspath",
|
||||||
|
"runtimeElements",
|
||||||
|
"runtimeJar",
|
||||||
|
"runtimeOnly",
|
||||||
|
"testCompile",
|
||||||
|
"testCompileClasspath",
|
||||||
|
"testCompileOnly",
|
||||||
|
"testImplementation",
|
||||||
|
"testRuntime",
|
||||||
|
"testRuntimeClasspath",
|
||||||
|
"testRuntimeOnly"
|
||||||
|
],
|
||||||
|
"extensions": {
|
||||||
|
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
||||||
|
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
||||||
|
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
||||||
|
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
||||||
|
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
||||||
|
}
|
||||||
|
},
|
||||||
":plugins": {
|
":plugins": {
|
||||||
"conventions": {
|
"conventions": {
|
||||||
|
|
||||||
@@ -1553,6 +1656,43 @@
|
|||||||
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension"
|
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
":sam-with-receiver-ide-plugin": {
|
||||||
|
"conventions": {
|
||||||
|
"base": "org.gradle.api.plugins.BasePluginConvention",
|
||||||
|
"java": "org.gradle.api.plugins.JavaPluginConvention"
|
||||||
|
},
|
||||||
|
"configurations": [
|
||||||
|
"apiElements",
|
||||||
|
"archives",
|
||||||
|
"buildVersion",
|
||||||
|
"compile",
|
||||||
|
"compileClasspath",
|
||||||
|
"compileOnly",
|
||||||
|
"default",
|
||||||
|
"implementation",
|
||||||
|
"kapt",
|
||||||
|
"kaptTest",
|
||||||
|
"runtime",
|
||||||
|
"runtimeClasspath",
|
||||||
|
"runtimeElements",
|
||||||
|
"runtimeJar",
|
||||||
|
"runtimeOnly",
|
||||||
|
"testCompile",
|
||||||
|
"testCompileClasspath",
|
||||||
|
"testCompileOnly",
|
||||||
|
"testImplementation",
|
||||||
|
"testRuntime",
|
||||||
|
"testRuntimeClasspath",
|
||||||
|
"testRuntimeOnly"
|
||||||
|
],
|
||||||
|
"extensions": {
|
||||||
|
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
||||||
|
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
||||||
|
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
||||||
|
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
||||||
|
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
||||||
|
}
|
||||||
|
},
|
||||||
":tools": {
|
":tools": {
|
||||||
"conventions": {
|
"conventions": {
|
||||||
|
|
||||||
@@ -2374,75 +2514,13 @@
|
|||||||
},
|
},
|
||||||
":core:builtins": {
|
":core:builtins": {
|
||||||
"conventions": {
|
"conventions": {
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
|
||||||
"java": "org.gradle.api.plugins.JavaPluginConvention"
|
|
||||||
},
|
},
|
||||||
"configurations": [
|
"configurations": [
|
||||||
"apiElements",
|
"builtins"
|
||||||
"archives",
|
|
||||||
"builtins",
|
|
||||||
"compile",
|
|
||||||
"compileClasspath",
|
|
||||||
"compileOnly",
|
|
||||||
"default",
|
|
||||||
"implementation",
|
|
||||||
"kapt",
|
|
||||||
"kaptTest",
|
|
||||||
"runtime",
|
|
||||||
"runtimeClasspath",
|
|
||||||
"runtimeElements",
|
|
||||||
"runtimeOnly",
|
|
||||||
"testCompile",
|
|
||||||
"testCompileClasspath",
|
|
||||||
"testCompileOnly",
|
|
||||||
"testImplementation",
|
|
||||||
"testRuntime",
|
|
||||||
"testRuntimeClasspath",
|
|
||||||
"testRuntimeOnly"
|
|
||||||
],
|
],
|
||||||
"extensions": {
|
"extensions": {
|
||||||
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension"
|
||||||
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
|
||||||
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
":core:reflection.jvm": {
|
|
||||||
"conventions": {
|
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
|
||||||
"java": "org.gradle.api.plugins.JavaPluginConvention"
|
|
||||||
},
|
|
||||||
"configurations": [
|
|
||||||
"apiElements",
|
|
||||||
"archives",
|
|
||||||
"compile",
|
|
||||||
"compileClasspath",
|
|
||||||
"compileOnly",
|
|
||||||
"default",
|
|
||||||
"implementation",
|
|
||||||
"kapt",
|
|
||||||
"kaptTest",
|
|
||||||
"runtime",
|
|
||||||
"runtimeClasspath",
|
|
||||||
"runtimeElements",
|
|
||||||
"runtimeOnly",
|
|
||||||
"shadow",
|
|
||||||
"testCompile",
|
|
||||||
"testCompileClasspath",
|
|
||||||
"testCompileOnly",
|
|
||||||
"testImplementation",
|
|
||||||
"testRuntime",
|
|
||||||
"testRuntimeClasspath",
|
|
||||||
"testRuntimeOnly"
|
|
||||||
],
|
|
||||||
"extensions": {
|
|
||||||
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
|
||||||
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
|
||||||
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension",
|
|
||||||
"shadow": "com.github.jengelman.gradle.plugins.shadow.ShadowExtension"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":core:util.runtime": {
|
":core:util.runtime": {
|
||||||
@@ -3315,43 +3393,6 @@
|
|||||||
"signing": "org.gradle.plugins.signing.SigningExtension"
|
"signing": "org.gradle.plugins.signing.SigningExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":plugins:allopen-ide": {
|
|
||||||
"conventions": {
|
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
|
||||||
"java": "org.gradle.api.plugins.JavaPluginConvention"
|
|
||||||
},
|
|
||||||
"configurations": [
|
|
||||||
"apiElements",
|
|
||||||
"archives",
|
|
||||||
"buildVersion",
|
|
||||||
"compile",
|
|
||||||
"compileClasspath",
|
|
||||||
"compileOnly",
|
|
||||||
"default",
|
|
||||||
"implementation",
|
|
||||||
"kapt",
|
|
||||||
"kaptTest",
|
|
||||||
"runtime",
|
|
||||||
"runtimeClasspath",
|
|
||||||
"runtimeElements",
|
|
||||||
"runtimeJar",
|
|
||||||
"runtimeOnly",
|
|
||||||
"testCompile",
|
|
||||||
"testCompileClasspath",
|
|
||||||
"testCompileOnly",
|
|
||||||
"testImplementation",
|
|
||||||
"testRuntime",
|
|
||||||
"testRuntimeClasspath",
|
|
||||||
"testRuntimeOnly"
|
|
||||||
],
|
|
||||||
"extensions": {
|
|
||||||
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
|
||||||
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
|
||||||
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
":plugins:android-extensions-idea": {
|
":plugins:android-extensions-idea": {
|
||||||
"conventions": {
|
"conventions": {
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
"base": "org.gradle.api.plugins.BasePluginConvention",
|
||||||
@@ -3460,42 +3501,6 @@
|
|||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":plugins:kapt3": {
|
|
||||||
"conventions": {
|
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
|
||||||
"java": "org.gradle.api.plugins.JavaPluginConvention"
|
|
||||||
},
|
|
||||||
"configurations": [
|
|
||||||
"apiElements",
|
|
||||||
"archives",
|
|
||||||
"compile",
|
|
||||||
"compileClasspath",
|
|
||||||
"compileOnly",
|
|
||||||
"default",
|
|
||||||
"implementation",
|
|
||||||
"kapt",
|
|
||||||
"kaptTest",
|
|
||||||
"runtime",
|
|
||||||
"runtimeClasspath",
|
|
||||||
"runtimeElements",
|
|
||||||
"runtimeOnly",
|
|
||||||
"testCompile",
|
|
||||||
"testCompileClasspath",
|
|
||||||
"testCompileOnly",
|
|
||||||
"testImplementation",
|
|
||||||
"testRuntime",
|
|
||||||
"testRuntimeClasspath",
|
|
||||||
"testRuntimeOnly",
|
|
||||||
"tests-jar"
|
|
||||||
],
|
|
||||||
"extensions": {
|
|
||||||
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
|
||||||
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
|
||||||
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
":plugins:lint": {
|
":plugins:lint": {
|
||||||
"conventions": {
|
"conventions": {
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
"base": "org.gradle.api.plugins.BasePluginConvention",
|
||||||
@@ -3531,43 +3536,6 @@
|
|||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":plugins:noarg-ide": {
|
|
||||||
"conventions": {
|
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
|
||||||
"java": "org.gradle.api.plugins.JavaPluginConvention"
|
|
||||||
},
|
|
||||||
"configurations": [
|
|
||||||
"apiElements",
|
|
||||||
"archives",
|
|
||||||
"buildVersion",
|
|
||||||
"compile",
|
|
||||||
"compileClasspath",
|
|
||||||
"compileOnly",
|
|
||||||
"default",
|
|
||||||
"implementation",
|
|
||||||
"kapt",
|
|
||||||
"kaptTest",
|
|
||||||
"runtime",
|
|
||||||
"runtimeClasspath",
|
|
||||||
"runtimeElements",
|
|
||||||
"runtimeJar",
|
|
||||||
"runtimeOnly",
|
|
||||||
"testCompile",
|
|
||||||
"testCompileClasspath",
|
|
||||||
"testCompileOnly",
|
|
||||||
"testImplementation",
|
|
||||||
"testRuntime",
|
|
||||||
"testRuntimeClasspath",
|
|
||||||
"testRuntimeOnly"
|
|
||||||
],
|
|
||||||
"extensions": {
|
|
||||||
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
|
||||||
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
|
||||||
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
":plugins:plugins-tests": {
|
":plugins:plugins-tests": {
|
||||||
"conventions": {
|
"conventions": {
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
"base": "org.gradle.api.plugins.BasePluginConvention",
|
||||||
@@ -3604,43 +3572,6 @@
|
|||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
":plugins:sam-with-receiver-ide": {
|
|
||||||
"conventions": {
|
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
|
||||||
"java": "org.gradle.api.plugins.JavaPluginConvention"
|
|
||||||
},
|
|
||||||
"configurations": [
|
|
||||||
"apiElements",
|
|
||||||
"archives",
|
|
||||||
"buildVersion",
|
|
||||||
"compile",
|
|
||||||
"compileClasspath",
|
|
||||||
"compileOnly",
|
|
||||||
"default",
|
|
||||||
"implementation",
|
|
||||||
"kapt",
|
|
||||||
"kaptTest",
|
|
||||||
"runtime",
|
|
||||||
"runtimeClasspath",
|
|
||||||
"runtimeElements",
|
|
||||||
"runtimeJar",
|
|
||||||
"runtimeOnly",
|
|
||||||
"testCompile",
|
|
||||||
"testCompileClasspath",
|
|
||||||
"testCompileOnly",
|
|
||||||
"testImplementation",
|
|
||||||
"testRuntime",
|
|
||||||
"testRuntimeClasspath",
|
|
||||||
"testRuntimeOnly"
|
|
||||||
],
|
|
||||||
"extensions": {
|
|
||||||
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
|
|
||||||
"kotlin": "org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension",
|
|
||||||
"kapt": "org.jetbrains.kotlin.gradle.plugin.KaptExtension",
|
|
||||||
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
|
|
||||||
"reporting": "org.gradle.api.reporting.ReportingExtension"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
":plugins:uast-kotlin": {
|
":plugins:uast-kotlin": {
|
||||||
"conventions": {
|
"conventions": {
|
||||||
"base": "org.gradle.api.plugins.BasePluginConvention",
|
"base": "org.gradle.api.plugins.BasePluginConvention",
|
||||||
|
|||||||
@@ -71,12 +71,12 @@ dependencies {
|
|||||||
// deps below are test runtime deps, but made test compile to split compilation and running to reduce mem req
|
// deps below are test runtime deps, but made test compile to split compilation and running to reduce mem req
|
||||||
testCompile(project(":android-extensions-compiler"))
|
testCompile(project(":android-extensions-compiler"))
|
||||||
testCompile(project(":plugins:android-extensions-idea")) { isTransitive = false }
|
testCompile(project(":plugins:android-extensions-idea")) { isTransitive = false }
|
||||||
testCompile(project(":plugins:allopen-ide")) { isTransitive = false }
|
testCompile(project(":allopen-ide-plugin")) { isTransitive = false }
|
||||||
testCompile(project(":kotlin-allopen-compiler-plugin"))
|
testCompile(project(":kotlin-allopen-compiler-plugin"))
|
||||||
testCompile(project(":plugins:noarg-ide")) { isTransitive = false }
|
testCompile(project(":noarg-ide-plugin")) { isTransitive = false }
|
||||||
testCompile(project(":kotlin-noarg-compiler-plugin"))
|
testCompile(project(":kotlin-noarg-compiler-plugin"))
|
||||||
testCompile(project(":plugins:annotation-based-compiler-plugins-ide-support")) { isTransitive = false }
|
testCompile(project(":plugins:annotation-based-compiler-plugins-ide-support")) { isTransitive = false }
|
||||||
testCompile(project(":plugins:sam-with-receiver-ide")) { isTransitive = false }
|
testCompile(project(":sam-with-receiver-ide-plugin")) { isTransitive = false }
|
||||||
testCompile(project(":kotlin-sam-with-receiver-compiler-plugin"))
|
testCompile(project(":kotlin-sam-with-receiver-compiler-plugin"))
|
||||||
testCompile(project(":idea:idea-android")) { isTransitive = false }
|
testCompile(project(":idea:idea-android")) { isTransitive = false }
|
||||||
testCompile(project(":plugins:lint")) { isTransitive = false }
|
testCompile(project(":plugins:lint")) { isTransitive = false }
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ dependencies {
|
|||||||
testCompile(commonDep("junit:junit"))
|
testCompile(commonDep("junit:junit"))
|
||||||
|
|
||||||
testRuntime(project(":plugins:android-extensions-idea"))
|
testRuntime(project(":plugins:android-extensions-idea"))
|
||||||
testRuntime(project(":plugins:sam-with-receiver-ide"))
|
testRuntime(project(":sam-with-receiver-ide-plugin"))
|
||||||
testRuntime(project(":plugins:noarg-ide"))
|
testRuntime(project(":noarg-ide-plugin"))
|
||||||
testRuntime(project(":plugins:allopen-ide"))
|
testRuntime(project(":allopen-ide-plugin"))
|
||||||
testRuntime(ideaSdkDeps("*.jar"))
|
testRuntime(ideaSdkDeps("*.jar"))
|
||||||
testRuntime(ideaPluginDeps("idea-junit", "resources_en", plugin = "junit"))
|
testRuntime(ideaPluginDeps("idea-junit", "resources_en", plugin = "junit"))
|
||||||
testRuntime(ideaPluginDeps("IntelliLang", plugin = "IntelliLang"))
|
testRuntime(ideaPluginDeps("IntelliLang", plugin = "IntelliLang"))
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ dependencies {
|
|||||||
testCompile(project(":compiler.tests-common"))
|
testCompile(project(":compiler.tests-common"))
|
||||||
testRuntime(project(":idea:idea-android"))
|
testRuntime(project(":idea:idea-android"))
|
||||||
testRuntime(project(":plugins:android-extensions-idea"))
|
testRuntime(project(":plugins:android-extensions-idea"))
|
||||||
testRuntime(project(":plugins:sam-with-receiver-ide"))
|
testRuntime(project(":sam-with-receiver-ide-plugin"))
|
||||||
testRuntime(project(":plugins:allopen-ide"))
|
testRuntime(project(":allopen-ide-plugin"))
|
||||||
testRuntime(project(":plugins:noarg-ide"))
|
testRuntime(project(":noarg-ide-plugin"))
|
||||||
testRuntime(ideaSdkDeps("*.jar"))
|
testRuntime(ideaSdkDeps("*.jar"))
|
||||||
testRuntime(ideaPluginDeps("*.jar", plugin = "properties"))
|
testRuntime(ideaPluginDeps("*.jar", plugin = "properties"))
|
||||||
testRuntime(ideaPluginDeps("*.jar", plugin = "gradle"))
|
testRuntime(ideaPluginDeps("*.jar", plugin = "gradle"))
|
||||||
|
|||||||
@@ -1,14 +1,28 @@
|
|||||||
|
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
||||||
|
|
||||||
description = "Annotation Processor wrapper for Kotlin"
|
description = "Annotation Processor wrapper for Kotlin"
|
||||||
|
|
||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
jcenter()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
classpath("com.github.jengelman.gradle.plugins:shadow:1.2.3")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
|
val packedJars by configurations.creating
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(project(":plugins:kapt3"))
|
compile(project(":kotlin-annotation-processing"))
|
||||||
compileOnly("org.jetbrains.kotlin:gradle-api:1.6")
|
compileOnly("org.jetbrains.kotlin:gradle-api:1.6")
|
||||||
compileOnly("com.android.tools.build:gradle:1.1.0")
|
compileOnly("com.android.tools.build:gradle:1.1.0")
|
||||||
compile(projectDist(":kotlin-stdlib"))
|
compile(projectDist(":kotlin-stdlib"))
|
||||||
testCompile(commonDep("junit:junit"))
|
testCompile(commonDep("junit:junit"))
|
||||||
|
packedJars(project(":kotlin-annotation-processing")) { isTransitive = false }
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
@@ -20,10 +34,16 @@ projectTest {
|
|||||||
workingDir = projectDir
|
workingDir = projectDir
|
||||||
}
|
}
|
||||||
|
|
||||||
runtimeJar()
|
val jar by tasks
|
||||||
|
jar.apply {
|
||||||
|
enabled = false
|
||||||
|
}
|
||||||
|
|
||||||
|
runtimeJar(task<ShadowJar>("shadowJar")) {
|
||||||
|
from(packedJars)
|
||||||
|
from(the<JavaPluginConvention>().sourceSets.getByName("main").output)
|
||||||
|
}
|
||||||
sourcesJar()
|
sourcesJar()
|
||||||
javadocJar()
|
javadocJar()
|
||||||
|
|
||||||
dist()
|
|
||||||
|
|
||||||
publish()
|
publish()
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ dependencies {
|
|||||||
compile project(':compiler:compiler-runner')
|
compile project(':compiler:compiler-runner')
|
||||||
compile project(":compiler:incremental-compilation-impl")
|
compile project(":compiler:incremental-compilation-impl")
|
||||||
compile project(":compiler:daemon")
|
compile project(":compiler:daemon")
|
||||||
compile project(':kotlin-annotation-processing')
|
compile project(':kotlin-annotation-processing-gradle')
|
||||||
|
|
||||||
compileOnly 'com.android.tools.build:gradle:2.0.0'
|
compileOnly 'com.android.tools.build:gradle:2.0.0'
|
||||||
compileOnly 'org.codehaus.groovy:groovy-all:2.3.9'
|
compileOnly 'org.codehaus.groovy:groovy-all:2.3.9'
|
||||||
|
|||||||
+1
-1
@@ -78,7 +78,7 @@ class Kapt3KotlinGradleSubplugin : KotlinGradleSubplugin<KotlinCompile> {
|
|||||||
val MAIN_KAPT_CONFIGURATION_NAME = "kapt"
|
val MAIN_KAPT_CONFIGURATION_NAME = "kapt"
|
||||||
|
|
||||||
val KAPT_GROUP_NAME = "org.jetbrains.kotlin"
|
val KAPT_GROUP_NAME = "org.jetbrains.kotlin"
|
||||||
val KAPT_ARTIFACT_NAME = "kotlin-annotation-processing"
|
val KAPT_ARTIFACT_NAME = "kotlin-annotation-processing-gradle"
|
||||||
|
|
||||||
fun getKaptConfigurationName(sourceSetName: String): String {
|
fun getKaptConfigurationName(sourceSetName: String): String {
|
||||||
return if (sourceSetName != "main")
|
return if (sourceSetName != "main")
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ dependencies {
|
|||||||
testCompile(projectDist(":kotlin-test:kotlin-test-jvm"))
|
testCompile(projectDist(":kotlin-test:kotlin-test-jvm"))
|
||||||
testCompile(commonDep("junit:junit"))
|
testCompile(commonDep("junit:junit"))
|
||||||
testRuntime(project(":plugins:android-extensions-jps"))
|
testRuntime(project(":plugins:android-extensions-jps"))
|
||||||
testRuntime(project(":plugins:sam-with-receiver-ide"))
|
testRuntime(project(":sam-with-receiver-ide-plugin"))
|
||||||
testRuntime(project(":plugins:noarg-ide"))
|
testRuntime(project(":noarg-ide-plugin"))
|
||||||
testRuntime(project(":plugins:allopen-ide"))
|
testRuntime(project(":allopen-ide-plugin"))
|
||||||
testRuntime(ideaSdkDeps("*.jar"))
|
testRuntime(ideaSdkDeps("*.jar"))
|
||||||
testRuntime(ideaPluginDeps("idea-junit", "resources_en", plugin = "junit"))
|
testRuntime(ideaPluginDeps("idea-junit", "resources_en", plugin = "junit"))
|
||||||
testRuntime(ideaPluginDeps("IntelliLang", plugin = "IntelliLang"))
|
testRuntime(ideaPluginDeps("IntelliLang", plugin = "IntelliLang"))
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
|
description = "Annotation Processor for Kotlin"
|
||||||
|
|
||||||
apply { plugin("kotlin") }
|
apply { plugin("kotlin") }
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@@ -23,3 +25,8 @@ projectTest {
|
|||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
runtimeJar()
|
||||||
|
sourcesJar()
|
||||||
|
javadocJar()
|
||||||
|
|
||||||
|
dist()
|
||||||
|
|||||||
@@ -8,12 +8,12 @@ dependencies {
|
|||||||
testCompile(project(":compiler.tests-common"))
|
testCompile(project(":compiler.tests-common"))
|
||||||
testCompile(project(":android-extensions-compiler"))
|
testCompile(project(":android-extensions-compiler"))
|
||||||
testCompile(project(":plugins:android-extensions-idea"))
|
testCompile(project(":plugins:android-extensions-idea"))
|
||||||
testCompile(project(":plugins:allopen-ide")) { isTransitive = false }
|
testCompile(project(":allopen-ide-plugin")) { isTransitive = false }
|
||||||
testCompile(project(":kotlin-allopen-compiler-plugin"))
|
testCompile(project(":kotlin-allopen-compiler-plugin"))
|
||||||
testCompile(project(":plugins:noarg-ide")) { isTransitive = false }
|
testCompile(project(":noarg-ide-plugin")) { isTransitive = false }
|
||||||
testCompile(project(":kotlin-noarg-compiler-plugin"))
|
testCompile(project(":kotlin-noarg-compiler-plugin"))
|
||||||
testCompile(project(":plugins:annotation-based-compiler-plugins-ide-support")) { isTransitive = false }
|
testCompile(project(":plugins:annotation-based-compiler-plugins-ide-support")) { isTransitive = false }
|
||||||
testCompile(project(":plugins:sam-with-receiver-ide")) { isTransitive = false }
|
testCompile(project(":sam-with-receiver-ide-plugin")) { isTransitive = false }
|
||||||
testCompile(project(":kotlin-sam-with-receiver-compiler-plugin"))
|
testCompile(project(":kotlin-sam-with-receiver-compiler-plugin"))
|
||||||
testCompile(project(":idea:idea-android")) { isTransitive = false }
|
testCompile(project(":idea:idea-android")) { isTransitive = false }
|
||||||
testCompile(project(":plugins:lint")) { isTransitive = false }
|
testCompile(project(":plugins:lint")) { isTransitive = false }
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
|
|
||||||
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
||||||
|
import org.gradle.jvm.tasks.Jar
|
||||||
|
|
||||||
description = "Kotlin IDEA plugin"
|
description = "Kotlin IDEA plugin"
|
||||||
|
|
||||||
@@ -13,6 +14,10 @@ buildscript {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
`java-base`
|
||||||
|
}
|
||||||
|
|
||||||
val projectsToShadow = listOf(
|
val projectsToShadow = listOf(
|
||||||
":plugins:annotation-based-compiler-plugins-ide-support",
|
":plugins:annotation-based-compiler-plugins-ide-support",
|
||||||
":compiler:backend",
|
":compiler:backend",
|
||||||
@@ -57,22 +62,20 @@ dependencies {
|
|||||||
packedJars(preloadedDeps("protobuf-${rootProject.extra["versions.protobuf-java"]}"))
|
packedJars(preloadedDeps("protobuf-${rootProject.extra["versions.protobuf-java"]}"))
|
||||||
packedJars(project(":kotlin-stdlib", configuration = "builtins"))
|
packedJars(project(":kotlin-stdlib", configuration = "builtins"))
|
||||||
sideJars(projectDist(":kotlin-script-runtime"))
|
sideJars(projectDist(":kotlin-script-runtime"))
|
||||||
|
sideJars(projectDist(":kotlin-stdlib"))
|
||||||
|
sideJars(projectDist(":kotlin-reflect"))
|
||||||
sideJars(commonDep("io.javaslang", "javaslang"))
|
sideJars(commonDep("io.javaslang", "javaslang"))
|
||||||
sideJars(commonDep("javax.inject"))
|
sideJars(commonDep("javax.inject"))
|
||||||
sideJars(preloadedDeps("markdown", "kotlinx-coroutines-core", "kotlinx-coroutines-jdk8"))
|
sideJars(preloadedDeps("markdown", "kotlinx-coroutines-core", "kotlinx-coroutines-jdk8"))
|
||||||
}
|
}
|
||||||
|
|
||||||
val jar = runtimeJar(task<ShadowJar>("shadowJar")) {
|
val jar = runtimeJar(task<ShadowJar>("shadowJar")) {
|
||||||
projectsToShadow.forEach {
|
|
||||||
dependsOn("$it:classes")
|
|
||||||
project(it).let { p ->
|
|
||||||
p.pluginManager.withPlugin("java") {
|
|
||||||
from(p.the<JavaPluginConvention>().sourceSets.getByName("main").output)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
from(files("$rootDir/resources/kotlinManifest.properties"))
|
from(files("$rootDir/resources/kotlinManifest.properties"))
|
||||||
from(packedJars.files)
|
from(packedJars)
|
||||||
|
for (p in projectsToShadow) {
|
||||||
|
dependsOn("$p:classes")
|
||||||
|
from(project(p).the<JavaPluginConvention>().sourceSets.getByName("main").output)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ideaPlugin {
|
ideaPlugin {
|
||||||
|
|||||||
+9
-8
@@ -68,16 +68,15 @@ include ":kotlin-build-common",
|
|||||||
":plugins:android-extensions-idea",
|
":plugins:android-extensions-idea",
|
||||||
":plugins:android-extensions-jps",
|
":plugins:android-extensions-jps",
|
||||||
":kotlin-allopen-compiler-plugin",
|
":kotlin-allopen-compiler-plugin",
|
||||||
":plugins:allopen-ide",
|
":allopen-ide-plugin",
|
||||||
":kotlin-noarg-compiler-plugin",
|
":kotlin-noarg-compiler-plugin",
|
||||||
":plugins:noarg-ide",
|
":noarg-ide-plugin",
|
||||||
":kotlin-sam-with-receiver-compiler-plugin",
|
":kotlin-sam-with-receiver-compiler-plugin",
|
||||||
":plugins:sam-with-receiver-ide",
|
":sam-with-receiver-ide-plugin",
|
||||||
":kotlin-source-sections-compiler-plugin",
|
":kotlin-source-sections-compiler-plugin",
|
||||||
":plugins:uast-kotlin",
|
":plugins:uast-kotlin",
|
||||||
":plugins:uast-kotlin-idea",
|
":plugins:uast-kotlin-idea",
|
||||||
":plugins:annotation-based-compiler-plugins-ide-support",
|
":plugins:annotation-based-compiler-plugins-ide-support",
|
||||||
":plugins:kapt3",
|
|
||||||
":plugins:plugins-tests",
|
":plugins:plugins-tests",
|
||||||
":kotlin-script-runtime",
|
":kotlin-script-runtime",
|
||||||
":kotlin-runtime",
|
":kotlin-runtime",
|
||||||
@@ -119,6 +118,7 @@ include ":kotlin-build-common",
|
|||||||
":examples:annotation-processor-example",
|
":examples:annotation-processor-example",
|
||||||
":kotlin-script-util",
|
":kotlin-script-util",
|
||||||
":kotlin-annotation-processing",
|
":kotlin-annotation-processing",
|
||||||
|
":kotlin-annotation-processing-gradle",
|
||||||
":examples:kotlin-jsr223-local-example",
|
":examples:kotlin-jsr223-local-example",
|
||||||
":examples:kotlin-jsr223-daemon-local-eval-example"
|
":examples:kotlin-jsr223-daemon-local-eval-example"
|
||||||
|
|
||||||
@@ -158,11 +158,11 @@ project(':plugins:android-extensions-idea').projectDir = "$rootDir/plugins/andro
|
|||||||
project(':plugins:android-extensions-jps').projectDir = "$rootDir/plugins/android-extensions/android-extensions-jps" as File
|
project(':plugins:android-extensions-jps').projectDir = "$rootDir/plugins/android-extensions/android-extensions-jps" as File
|
||||||
project(':android-lint').projectDir = "$rootDir/prepare/android-lint" as File
|
project(':android-lint').projectDir = "$rootDir/prepare/android-lint" as File
|
||||||
project(':kotlin-allopen-compiler-plugin').projectDir = "$rootDir/plugins/allopen/allopen-cli" as File
|
project(':kotlin-allopen-compiler-plugin').projectDir = "$rootDir/plugins/allopen/allopen-cli" as File
|
||||||
project(':plugins:allopen-ide').projectDir = "$rootDir/plugins/allopen/allopen-ide" as File
|
project(':allopen-ide-plugin').projectDir = "$rootDir/plugins/allopen/allopen-ide" as File
|
||||||
project(':kotlin-noarg-compiler-plugin').projectDir = "$rootDir/plugins/noarg/noarg-cli" as File
|
project(':kotlin-noarg-compiler-plugin').projectDir = "$rootDir/plugins/noarg/noarg-cli" as File
|
||||||
project(':plugins:noarg-ide').projectDir = "$rootDir/plugins/noarg/noarg-ide" as File
|
project(':noarg-ide-plugin').projectDir = "$rootDir/plugins/noarg/noarg-ide" as File
|
||||||
project(':kotlin-sam-with-receiver-compiler-plugin').projectDir = "$rootDir/plugins/sam-with-receiver/sam-with-receiver-cli" as File
|
project(':kotlin-sam-with-receiver-compiler-plugin').projectDir = "$rootDir/plugins/sam-with-receiver/sam-with-receiver-cli" as File
|
||||||
project(':plugins:sam-with-receiver-ide').projectDir = "$rootDir/plugins/sam-with-receiver/sam-with-receiver-ide" as File
|
project(':sam-with-receiver-ide-plugin').projectDir = "$rootDir/plugins/sam-with-receiver/sam-with-receiver-ide" as File
|
||||||
project(':kotlin-source-sections-compiler-plugin').projectDir = "$rootDir/plugins/source-sections/source-sections-compiler" as File
|
project(':kotlin-source-sections-compiler-plugin').projectDir = "$rootDir/plugins/source-sections/source-sections-compiler" as File
|
||||||
project(':tools:binary-compatibility-validator').projectDir = "$rootDir/libraries/tools/binary-compatibility-validator" as File
|
project(':tools:binary-compatibility-validator').projectDir = "$rootDir/libraries/tools/binary-compatibility-validator" as File
|
||||||
project(':tools:kotlin-stdlib-js-merger').projectDir = "$rootDir/libraries/tools/kotlin-stdlib-js-merger" as File
|
project(':tools:kotlin-stdlib-js-merger').projectDir = "$rootDir/libraries/tools/kotlin-stdlib-js-merger" as File
|
||||||
@@ -176,7 +176,8 @@ project(':kotlin-sam-with-receiver').projectDir = "$rootDir/libraries/tools/kotl
|
|||||||
project(':kotlin-gradle-subplugin-example').projectDir = "$rootDir/libraries/examples/kotlin-gradle-subplugin-example" as File
|
project(':kotlin-gradle-subplugin-example').projectDir = "$rootDir/libraries/examples/kotlin-gradle-subplugin-example" as File
|
||||||
project(':examples:annotation-processor-example').projectDir = "$rootDir/libraries/examples/annotation-processor-example" as File
|
project(':examples:annotation-processor-example').projectDir = "$rootDir/libraries/examples/annotation-processor-example" as File
|
||||||
project(':kotlin-script-util').projectDir = "$rootDir/libraries/tools/kotlin-script-util" as File
|
project(':kotlin-script-util').projectDir = "$rootDir/libraries/tools/kotlin-script-util" as File
|
||||||
project(':kotlin-annotation-processing').projectDir = "$rootDir/libraries/tools/kotlin-annotation-processing" as File
|
project(':kotlin-annotation-processing-gradle').projectDir = "$rootDir/libraries/tools/kotlin-annotation-processing" as File
|
||||||
|
project(':kotlin-annotation-processing').projectDir = "$rootDir/plugins/kapt3" as File
|
||||||
project(':examples:kotlin-jsr223-local-example').projectDir = "$rootDir/libraries/examples/kotlin-jsr223-local-example" as File
|
project(':examples:kotlin-jsr223-local-example').projectDir = "$rootDir/libraries/examples/kotlin-jsr223-local-example" as File
|
||||||
project(':examples:kotlin-jsr223-daemon-local-eval-example').projectDir = "$rootDir/libraries/examples/kotlin-jsr223-daemon-local-eval-example" as File
|
project(':examples:kotlin-jsr223-daemon-local-eval-example').projectDir = "$rootDir/libraries/examples/kotlin-jsr223-daemon-local-eval-example" as File
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user