Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Mar 5, 2024
1 parent 6e986cc commit eb4187c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
build-and-publish:
name: Java Gradle
uses: bakdata/ci-templates/.github/workflows/java-gradle-plugin.yaml@1.42.0
uses: bakdata/ci-templates/.github/workflows/java-gradle-plugin.yaml@1.43.0
secrets:
sonar-token: ${{ secrets.SONARCLOUD_TOKEN }}
sonar-organization: ${{ secrets.SONARCLOUD_ORGANIZATION }}
Expand All @@ -19,5 +19,4 @@ jobs:
ossrh-username: ${{ secrets.SONATYPE_OSSRH_USERNAME }}
gradle-publish-key: ${{ secrets.GRADLE_PLUGIN_PUBLISH_KEY }}
gradle-publish-secret: ${{ secrets.GRADLE_PLUGIN_PUBLISH_SECRET }}
github-username: ${{ secrets.GH_USERNAME }}
github-token: ${{ secrets.GH_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
java-gradle-release:
name: Java Gradle
uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.42.0
uses: bakdata/ci-templates/.github/workflows/java-gradle-release.yaml@1.43.0
with:
release-type: "${{ inputs.release-type }}"

Expand Down
15 changes: 1 addition & 14 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
plugins {
// release
id("net.researchgate.release") version "3.0.2"
id("com.bakdata.sonar") version "1.3.0"
// eat your own dog food - apply the plugins to this plugin project
id("com.bakdata.sonar") version "1.1.17"
id("com.bakdata.sonatype") version "1.2.2"
id("org.hildan.github.changelog") version "1.13.1"
id("org.gradle.kotlin.kotlin-dsl") version "2.1.6" apply false
id("com.gradle.plugin-publish") version "1.2.1" apply false
}
Expand Down Expand Up @@ -38,12 +37,6 @@ configure<com.bakdata.gradle.SonatypeSettings> {
}
}

configure<org.hildan.github.changelog.plugin.GitHubChangelogExtension> {
githubUser = "bakdata"
futureVersionTag = findProperty("changelog.releaseVersion")?.toString()
sinceTag = findProperty("changelog.sinceTag")?.toString()
}

subprojects {
apply(plugin = "java")

Expand Down Expand Up @@ -88,11 +81,5 @@ subprojects {
}
}

release {
git {
requireBranch.set("master")
}
}

val sonarqube by tasks
sonarqube.enabled = false //FIXME requires Java 17

0 comments on commit eb4187c

Please sign in to comment.