Make a project-wide embeddedComponents configuration for embedding external binaries to project artifacts

This commit is contained in:
Yan Zhulanow
2018-02-22 21:45:00 +03:00
parent 3c06dd7464
commit 6e65a4810e
9 changed files with 116 additions and 37 deletions
+61 -8
View File
@@ -58,6 +58,7 @@
"configurations": [
"archives",
"default",
"embeddedComponents",
"runtimeJar"
],
"extensions": {
@@ -199,8 +200,7 @@
"testImplementation",
"testRuntime",
"testRuntimeClasspath",
"testRuntimeOnly",
"tests-jar"
"testRuntimeOnly"
],
"extensions": {
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
@@ -545,6 +545,7 @@
"compileOnly",
"default",
"distJar",
"embeddedComponents",
"implementation",
"jpsTest",
"kapt",
@@ -1009,7 +1010,7 @@
"compileOnly",
"default",
"distJar",
"fatJarContents",
"embeddedComponents",
"implementation",
"jpsTest",
"kapt",
@@ -1242,7 +1243,7 @@
"configurations": [
"archives",
"default",
"fatJarContents",
"embeddedComponents",
"runtimeJar"
],
"extensions": {
@@ -1751,10 +1752,18 @@
"compileOnly",
"default",
"distJar",
"experimentalCompile",
"experimentalCompileClasspath",
"experimentalCompileOnly",
"experimentalImplementation",
"experimentalRuntime",
"experimentalRuntimeClasspath",
"experimentalRuntimeOnly",
"implementation",
"kapt",
"kaptAnnotations",
"kaptBuiltins",
"kaptExperimental",
"kaptTest",
"mainJar",
"runtime",
@@ -1992,6 +2001,13 @@
"compileOnly",
"default",
"distJar",
"experimentalCompile",
"experimentalCompileClasspath",
"experimentalCompileOnly",
"experimentalImplementation",
"experimentalRuntime",
"experimentalRuntimeClasspath",
"experimentalRuntimeOnly",
"implementation",
"merger",
"nodeDist",
@@ -2970,7 +2986,8 @@
"testImplementation",
"testRuntime",
"testRuntimeClasspath",
"testRuntimeOnly"
"testRuntimeOnly",
"tests-jar"
],
"extensions": {
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
@@ -3006,7 +3023,8 @@
"testImplementation",
"testRuntime",
"testRuntimeClasspath",
"testRuntimeOnly"
"testRuntimeOnly",
"tests-jar"
],
"extensions": {
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
@@ -3863,7 +3881,8 @@
"testImplementation",
"testRuntime",
"testRuntimeClasspath",
"testRuntimeOnly"
"testRuntimeOnly",
"tests-jar"
],
"extensions": {
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
@@ -3910,6 +3929,38 @@
"reporting": "org.gradle.api.reporting.ReportingExtension"
}
},
":jps-plugin:jps-services-declarations": {
"conventions": {
"base": "org.gradle.api.plugins.BasePluginConvention",
"java": "org.gradle.api.plugins.JavaPluginConvention"
},
"configurations": [
"apiElements",
"archives",
"compile",
"compileClasspath",
"compileOnly",
"default",
"implementation",
"jpsTest",
"runtime",
"runtimeClasspath",
"runtimeElements",
"runtimeOnly",
"testCompile",
"testCompileClasspath",
"testCompileOnly",
"testImplementation",
"testRuntime",
"testRuntimeClasspath",
"testRuntimeOnly"
],
"extensions": {
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",
"defaultArtifacts": "org.gradle.api.internal.plugins.DefaultArtifactPublicationSet",
"reporting": "org.gradle.api.reporting.ReportingExtension"
}
},
":js:js.ast": {
"conventions": {
"base": "org.gradle.api.plugins.BasePluginConvention",
@@ -4586,6 +4637,7 @@
"compileOnly",
"default",
"distJar",
"embeddedComponents",
"implementation",
"jpsTest",
"kapt",
@@ -4940,7 +4992,8 @@
"testImplementation",
"testRuntime",
"testRuntimeClasspath",
"testRuntimeOnly"
"testRuntimeOnly",
"versions"
],
"extensions": {
"ext": "org.gradle.api.plugins.ExtraPropertiesExtension",