We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7c7e7b commit 052bf34Copy full SHA for 052bf34
libraries/apollo-gradle-plugin-tasks/build.gradle.kts
@@ -1,3 +1,5 @@
1
+import org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler
2
+
3
plugins {
4
id("org.jetbrains.kotlin.jvm")
5
id("com.gradleup.gratatouille.tasks")
@@ -20,6 +22,20 @@ dependencies {
20
22
21
23
gratatouille {
24
codeGeneration {
25
+ /**
26
+ * Workaround for https://github.com/GradleUp/gratatouille/pull/52
27
+ */
28
+ configurations.configureEach {
29
+ if (name == "gratatouilleApiElements") {
30
+ artifacts.configureEach {
31
+ this as ConfigurablePublishArtifact
32
+ if (extension.isNullOrEmpty()) {
33
+ extension = "zip"
34
+ }
35
36
37
38
classLoaderIsolation()
39
}
-}
40
+}
41
0 commit comments