From 5a812642b0da23a41ebde813b1c9b5de61c960a6 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 10:22:23 +0100 Subject: [PATCH 01/13] Listen for Java and Dokka plugin setup --- .../com/bakdata/gradle/SonatypePlugin.kt | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt index 0d28e2c..a2f8fcb 100644 --- a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt +++ b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt @@ -31,6 +31,7 @@ import org.gradle.api.Project import org.gradle.api.Task import org.gradle.api.attributes.DocsType.JAVADOC import org.gradle.api.logging.Logging +import org.gradle.api.plugins.JavaPlugin import org.gradle.api.plugins.JavaPluginExtension import org.gradle.api.publish.PublishingExtension import org.gradle.api.publish.maven.MavenPublication @@ -220,18 +221,16 @@ class SonatypePlugin : Plugin { apply(plugin = "signing") apply(plugin = "org.gradle.maven-publish") - // Java and Dokka plugins might not have been applied yet - project.afterEvaluate { - tasks.findByName("dokka")?.apply { - val javadocTask: Task = this - val main: SourceSet = - the().sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME) - tasks.create(main.javadocJarTaskName) { - archiveClassifier.set(JAVADOC) - from(javadocTask) - } + project.tasks.matching { it.name == "dokka" }.all { + val javadocTask: Task = this + val main: SourceSet = the().sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME) + tasks.create(main.javadocJarTaskName) { + archiveClassifier.set(JAVADOC) + from(javadocTask) } + } + project.plugins.matching { it is JavaPlugin }.all { configure { withSourcesJar() withJavadocJar() From 4bddcc41363119d72f3bac79d3cd4c9e146f779b Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 10:32:54 +0100 Subject: [PATCH 02/13] Listen for Java and Dokka plugin setup --- .../META-INF/gradle-plugins/com.bakdata.sonatype.properties | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sonatype/src/{test => main}/resources/META-INF/gradle-plugins/com.bakdata.sonatype.properties (100%) diff --git a/sonatype/src/test/resources/META-INF/gradle-plugins/com.bakdata.sonatype.properties b/sonatype/src/main/resources/META-INF/gradle-plugins/com.bakdata.sonatype.properties similarity index 100% rename from sonatype/src/test/resources/META-INF/gradle-plugins/com.bakdata.sonatype.properties rename to sonatype/src/main/resources/META-INF/gradle-plugins/com.bakdata.sonatype.properties From 8f0be80b4f80ac7c386f887d9e2a7408d5160d84 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 10:38:47 +0100 Subject: [PATCH 03/13] Listen for Java and Dokka plugin setup --- build.gradle.kts | 32 +++++++++++-------- gradle.properties | 2 +- .../com.bakdata.sonatype.properties | 0 3 files changed, 20 insertions(+), 14 deletions(-) rename sonatype/src/{main => test}/resources/META-INF/gradle-plugins/com.bakdata.sonatype.properties (100%) diff --git a/build.gradle.kts b/build.gradle.kts index 42564b1..699d93a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -60,26 +60,32 @@ subprojects { } } +subprojects.forEach { project -> + with(project) { + apply(plugin = "java-gradle-plugin") + project.afterEvaluate { + // java-gradle-plugin requires this block, but we already added the definitions in META-INF for unit testing... + configure { + plugins { + create("${project.name.capitalize()}Plugin") { + id = "com.bakdata.${project.name}" + implementationClass = "com.bakdata.gradle.${project.name.capitalize()}Plugin" + description = project.description + displayName = "Bakdata $name plugin" + } + } + } + } + } +} + // config for gradle plugin portal // doesn't support snapshot, so we add config only if release version if (!version.toString().endsWith("-SNAPSHOT")) { subprojects.forEach { project -> with(project) { - // com.gradle.plugin-publish depends on java-gradle-plugin, but it screws a bit this project - apply(plugin = "java-gradle-plugin") apply(plugin = "com.gradle.plugin-publish") project.afterEvaluate { - // java-gradle-plugin requires this block, but we already added the definitions in META-INF for unit testing... - configure { - plugins { - create("${project.name.capitalize()}Plugin") { - id = "com.bakdata.${project.name}" - implementationClass = "com.bakdata.gradle.${project.name.capitalize()}Plugin" - description = project.description - displayName = "Bakdata $name plugin" - } - } - } // actual block of plugin portal config, need to be done on each subproject as the plugin does not support multi-module projects yet... configure { website = "https://github.com/bakdata/gradle-plugins" diff --git a/gradle.properties b/gradle.properties index 3afbffa..6b967f2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -version=1.2.3-SNAPSHOT +version=1.2.4-SNAPSHOT org.gradle.caching=true org.gradle.parallel=true diff --git a/sonatype/src/main/resources/META-INF/gradle-plugins/com.bakdata.sonatype.properties b/sonatype/src/test/resources/META-INF/gradle-plugins/com.bakdata.sonatype.properties similarity index 100% rename from sonatype/src/main/resources/META-INF/gradle-plugins/com.bakdata.sonatype.properties rename to sonatype/src/test/resources/META-INF/gradle-plugins/com.bakdata.sonatype.properties From f18001d35ab6f402a17e82d42d6623d355f846e4 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 10:54:41 +0100 Subject: [PATCH 04/13] Listen for Java and Dokka plugin setup --- build.gradle.kts | 32 +++++++++++++------------------- gradle.properties | 2 +- 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 699d93a..42564b1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -60,32 +60,26 @@ subprojects { } } -subprojects.forEach { project -> - with(project) { - apply(plugin = "java-gradle-plugin") - project.afterEvaluate { - // java-gradle-plugin requires this block, but we already added the definitions in META-INF for unit testing... - configure { - plugins { - create("${project.name.capitalize()}Plugin") { - id = "com.bakdata.${project.name}" - implementationClass = "com.bakdata.gradle.${project.name.capitalize()}Plugin" - description = project.description - displayName = "Bakdata $name plugin" - } - } - } - } - } -} - // config for gradle plugin portal // doesn't support snapshot, so we add config only if release version if (!version.toString().endsWith("-SNAPSHOT")) { subprojects.forEach { project -> with(project) { + // com.gradle.plugin-publish depends on java-gradle-plugin, but it screws a bit this project + apply(plugin = "java-gradle-plugin") apply(plugin = "com.gradle.plugin-publish") project.afterEvaluate { + // java-gradle-plugin requires this block, but we already added the definitions in META-INF for unit testing... + configure { + plugins { + create("${project.name.capitalize()}Plugin") { + id = "com.bakdata.${project.name}" + implementationClass = "com.bakdata.gradle.${project.name.capitalize()}Plugin" + description = project.description + displayName = "Bakdata $name plugin" + } + } + } // actual block of plugin portal config, need to be done on each subproject as the plugin does not support multi-module projects yet... configure { website = "https://github.com/bakdata/gradle-plugins" diff --git a/gradle.properties b/gradle.properties index 6b967f2..3afbffa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -version=1.2.4-SNAPSHOT +version=1.2.3-SNAPSHOT org.gradle.caching=true org.gradle.parallel=true From c97371abd285a8aa6069a726754b186598f6336b Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 11:32:48 +0100 Subject: [PATCH 05/13] Setup gradle plugin for correct snapshot publication --- build.gradle.kts | 44 ++++++++++++++++++++------------------------ gradle.properties | 2 +- 2 files changed, 21 insertions(+), 25 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 42564b1..c18bfc1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -52,6 +52,19 @@ subprojects { targetCompatibility = JavaVersion.VERSION_11 } + apply(plugin = "java-gradle-plugin") + + configure { + plugins { + create("${project.name.capitalize()}Plugin") { + id = "com.bakdata.${project.name}" + implementationClass = "com.bakdata.gradle.${project.name.capitalize()}Plugin" + description = project.description + displayName = "Bakdata $name plugin" + } + } + } + dependencies { "testRuntimeOnly"("org.junit.jupiter:junit-jupiter-engine:5.3.0") "testImplementation"("org.junit.jupiter:junit-jupiter-api:5.3.0") @@ -63,30 +76,13 @@ subprojects { // config for gradle plugin portal // doesn't support snapshot, so we add config only if release version if (!version.toString().endsWith("-SNAPSHOT")) { - subprojects.forEach { project -> - with(project) { - // com.gradle.plugin-publish depends on java-gradle-plugin, but it screws a bit this project - apply(plugin = "java-gradle-plugin") - apply(plugin = "com.gradle.plugin-publish") - project.afterEvaluate { - // java-gradle-plugin requires this block, but we already added the definitions in META-INF for unit testing... - configure { - plugins { - create("${project.name.capitalize()}Plugin") { - id = "com.bakdata.${project.name}" - implementationClass = "com.bakdata.gradle.${project.name.capitalize()}Plugin" - description = project.description - displayName = "Bakdata $name plugin" - } - } - } - // actual block of plugin portal config, need to be done on each subproject as the plugin does not support multi-module projects yet... - configure { - website = "https://github.com/bakdata/gradle-plugins" - vcsUrl = "https://github.com/bakdata/gradle-plugins" - tags = listOf("bakdata", name) - } - } + subprojects { + apply(plugin = "com.gradle.plugin-publish") + // actual block of plugin portal config, need to be done on each subproject as the plugin does not support multi-module projects yet... + configure { + website = "https://github.com/bakdata/gradle-plugins" + vcsUrl = "https://github.com/bakdata/gradle-plugins" + tags = listOf("bakdata", name) } } } diff --git a/gradle.properties b/gradle.properties index 3afbffa..720597a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -version=1.2.3-SNAPSHOT +version=1.2.5-SNAPSHOT org.gradle.caching=true org.gradle.parallel=true From ceb9a48b1269bb8eb78c658aa95cbdb25cd2f236 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 11:33:33 +0100 Subject: [PATCH 06/13] Setup gradle plugin for correct snapshot publication --- sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt index a2f8fcb..e12ecf8 100644 --- a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt +++ b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt @@ -221,7 +221,7 @@ class SonatypePlugin : Plugin { apply(plugin = "signing") apply(plugin = "org.gradle.maven-publish") - project.tasks.matching { it.name == "dokka" }.all { + project.tasks.matching { it.name == "dokkaJavadoc" }.all { val javadocTask: Task = this val main: SourceSet = the().sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME) tasks.create(main.javadocJarTaskName) { From 969199fb914d3e2e07e889c6282d68ea24e36426 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 11:38:27 +0100 Subject: [PATCH 07/13] Setup gradle plugin for correct snapshot publication --- build.gradle.kts | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index c18bfc1..e07cde6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -54,13 +54,15 @@ subprojects { apply(plugin = "java-gradle-plugin") - configure { - plugins { - create("${project.name.capitalize()}Plugin") { - id = "com.bakdata.${project.name}" - implementationClass = "com.bakdata.gradle.${project.name.capitalize()}Plugin" - description = project.description - displayName = "Bakdata $name plugin" + afterEvaluate { + configure { + plugins { + create("${project.name.capitalize()}Plugin") { + id = "com.bakdata.${project.name}" + implementationClass = "com.bakdata.gradle.${project.name.capitalize()}Plugin" + description = project.description + displayName = "Bakdata $name plugin" + } } } } From 08d5f0e77617dd4d0596157c10161936adfb7e00 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 11:53:14 +0100 Subject: [PATCH 08/13] Setup gradle plugin for correct snapshot publication --- build.gradle.kts | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index e07cde6..a3bd0d9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -54,6 +54,12 @@ subprojects { apply(plugin = "java-gradle-plugin") + // config for gradle plugin portal doesn't support snapshot, so we add config only if release version + if (!version.toString().endsWith("-SNAPSHOT")) { + apply(plugin = "com.gradle.plugin-publish") + } + + // description is only ready after evaluation afterEvaluate { configure { plugins { @@ -65,6 +71,13 @@ subprojects { } } } + + extensions.findByType(com.gradle.publish.PluginBundleExtension::class)?.apply { + // actual block of plugin portal config, need to be done on each subproject as the plugin does not support multi-module projects yet... + website = "https://github.com/bakdata/gradle-plugins" + vcsUrl = "https://github.com/bakdata/gradle-plugins" + tags = listOf("bakdata", name) + } } dependencies { @@ -75,20 +88,6 @@ subprojects { } } -// config for gradle plugin portal -// doesn't support snapshot, so we add config only if release version -if (!version.toString().endsWith("-SNAPSHOT")) { - subprojects { - apply(plugin = "com.gradle.plugin-publish") - // actual block of plugin portal config, need to be done on each subproject as the plugin does not support multi-module projects yet... - configure { - website = "https://github.com/bakdata/gradle-plugins" - vcsUrl = "https://github.com/bakdata/gradle-plugins" - tags = listOf("bakdata", name) - } - } -} - release { git { requireBranch.set("master") From 36c16fe17f20402f261086471ef7c813744bf0cc Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 12:07:54 +0100 Subject: [PATCH 09/13] Setup gradle plugin for correct snapshot publication --- README.md | 20 +++++++++++++++++++ gradle.properties | 2 +- .../com/bakdata/gradle/SonatypePlugin.kt | 16 +++++++-------- 3 files changed, 29 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d19caac..adff819 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,24 @@ A collection of small gradle plugin, mostly focused on deployment. **Sonar** Some defaults for easy integration of sonar on multi-module projects **Sonatype** is used for uploading to sonatype repos and ultimately publish to Maven Central +## Development +Snapshot versions of these plugins are published to Sonatype. +You can use them in your project by adding the following snippet to your `build.gradle.kts` + +``` +buildscript { + repositories { + maven { + url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots") + } + } + dependencies { + classpath("com.bakdata.gradle:sonar:0.0.1-SNAPSHOT") + classpath("com.bakdata.gradle:sonatype:0.0.1-SNAPSHOT") + } +} + +apply(plugin = "com.bakdata.sonar") +apply(plugin = "com.bakdata.sonatype") +``` diff --git a/gradle.properties b/gradle.properties index 720597a..9185171 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -version=1.2.5-SNAPSHOT +version=1.2.6-SNAPSHOT org.gradle.caching=true org.gradle.parallel=true diff --git a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt index e12ecf8..3a038e7 100644 --- a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt +++ b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt @@ -221,16 +221,16 @@ class SonatypePlugin : Plugin { apply(plugin = "signing") apply(plugin = "org.gradle.maven-publish") - project.tasks.matching { it.name == "dokkaJavadoc" }.all { - val javadocTask: Task = this - val main: SourceSet = the().sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME) - tasks.create(main.javadocJarTaskName) { - archiveClassifier.set(JAVADOC) - from(javadocTask) + project.plugins.matching { it is JavaPlugin }.all { + project.tasks.matching { it.name == "dokkaJavadoc" }.all { + val javadocTask: Task = this + val main: SourceSet = the().sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME) + tasks.create(main.javadocJarTaskName) { + archiveClassifier.set(JAVADOC) + from(javadocTask) + } } - } - project.plugins.matching { it is JavaPlugin }.all { configure { withSourcesJar() withJavadocJar() From e524c9c642933547db5fc3e275815f71f31bad1f Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 12:20:37 +0100 Subject: [PATCH 10/13] Setup gradle plugin for correct snapshot publication --- sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt index 3a038e7..9af24c5 100644 --- a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt +++ b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt @@ -224,8 +224,7 @@ class SonatypePlugin : Plugin { project.plugins.matching { it is JavaPlugin }.all { project.tasks.matching { it.name == "dokkaJavadoc" }.all { val javadocTask: Task = this - val main: SourceSet = the().sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME) - tasks.create(main.javadocJarTaskName) { + tasks.create("javadocJar") { archiveClassifier.set(JAVADOC) from(javadocTask) } From cb242e7bdbde331d70c1ae0421ca86b7cf51349e Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 12:44:13 +0100 Subject: [PATCH 11/13] Setup gradle plugin for correct snapshot publication --- sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt index 9af24c5..0b83d9d 100644 --- a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt +++ b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt @@ -222,7 +222,7 @@ class SonatypePlugin : Plugin { apply(plugin = "org.gradle.maven-publish") project.plugins.matching { it is JavaPlugin }.all { - project.tasks.matching { it.name == "dokkaJavadoc" }.all { + project.tasks.matching { it.name == "dokka" }.all { val javadocTask: Task = this tasks.create("javadocJar") { archiveClassifier.set(JAVADOC) From b805bf1ac249437554e0f0cd61c22e96e627c712 Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 13:05:27 +0100 Subject: [PATCH 12/13] Update --- gradle.properties | 2 +- .../main/kotlin/com/bakdata/gradle/SonatypePlugin.kt | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gradle.properties b/gradle.properties index 9185171..3afbffa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ -version=1.2.6-SNAPSHOT +version=1.2.3-SNAPSHOT org.gradle.caching=true org.gradle.parallel=true diff --git a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt index 0b83d9d..0d28e2c 100644 --- a/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt +++ b/sonatype/src/main/kotlin/com/bakdata/gradle/SonatypePlugin.kt @@ -31,7 +31,6 @@ import org.gradle.api.Project import org.gradle.api.Task import org.gradle.api.attributes.DocsType.JAVADOC import org.gradle.api.logging.Logging -import org.gradle.api.plugins.JavaPlugin import org.gradle.api.plugins.JavaPluginExtension import org.gradle.api.publish.PublishingExtension import org.gradle.api.publish.maven.MavenPublication @@ -221,10 +220,13 @@ class SonatypePlugin : Plugin { apply(plugin = "signing") apply(plugin = "org.gradle.maven-publish") - project.plugins.matching { it is JavaPlugin }.all { - project.tasks.matching { it.name == "dokka" }.all { + // Java and Dokka plugins might not have been applied yet + project.afterEvaluate { + tasks.findByName("dokka")?.apply { val javadocTask: Task = this - tasks.create("javadocJar") { + val main: SourceSet = + the().sourceSets.getByName(SourceSet.MAIN_SOURCE_SET_NAME) + tasks.create(main.javadocJarTaskName) { archiveClassifier.set(JAVADOC) from(javadocTask) } From 4240e5795a6d8e7bd8e85295a38566d882b32bef Mon Sep 17 00:00:00 2001 From: Philipp Schirmer Date: Wed, 28 Feb 2024 17:44:34 +0100 Subject: [PATCH 13/13] Update --- .github/workflows/build-and-publish.yaml | 2 +- .github/workflows/release.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index a327d2c..3082cb3 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -8,7 +8,7 @@ on: jobs: build-and-publish: name: Java Gradle - uses: bakdata/ci-templates/.github/workflows/java-gradle-plugin.yaml@1.41.0 + uses: bakdata/ci-templates/.github/workflows/java-gradle-plugin.yaml@1.42.0 secrets: sonar-token: ${{ secrets.SONARCLOUD_TOKEN }} sonar-organization: ${{ secrets.SONARCLOUD_ORGANIZATION }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 86fe9aa..2e0e77a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,7 +16,7 @@ on: jobs: java-gradle-release: name: Java Gradle - uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.41.0 + uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.42.0 with: release-type: "${{ inputs.release-type }}"