Skip to content

Commit

Permalink
testing groupId and version settings
Browse files Browse the repository at this point in the history
  • Loading branch information
p3t committed Jun 22, 2024
1 parent c7b44ed commit 6a8e97b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish-githubpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3 # v3.1.0

- name: Build with Gradle Wrapper
with:
BUILD_VERSION: ${{ steps.release_version.outputs.BUILD_VERSION }}
run: ./gradlew -P${{ BUILD_VERSION }} build jacocoTestReport

- name: Sign artifacts
run: ./gradlew signMavenJavaPublication
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
groupId = "io.vigier.cursorpaging"
artifactId = artifactId.orEmpty()
}
withType<MavenPublication> {
pom {
Expand Down
4 changes: 2 additions & 2 deletions cursorpaging-jpa-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ plugins {
id("com.google.protobuf")
}

group = "io.vigier.cursorpaging.jpa.api"
group = "io.vigier.cursorpaging"
version = "0-SNAPSHOT"
ext["artifactId"] = findProperty("artifactId") ?: "spring-cursorpaging-jpa-api"
ext["artifactId"] = findProperty("artifactId") ?: "cursorpaging-jpa-api"

configurations {
compileOnly {
Expand Down
4 changes: 2 additions & 2 deletions cursorpaging-jpa/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ plugins {
id("org.kordamp.gradle.coveralls")
}

group = "io.vigier.cursorpaging-jpa"
group = "io.vigier.cursorpaging"
version = "0-SNAPSHOT"

ext["artifactId"] = findProperty("artifactId") ?: "spring-cursorpaging-jpa"
ext["artifactId"] = findProperty("artifactId") ?: "cursorpaging-jpa"


dependencies {
Expand Down

0 comments on commit 6a8e97b

Please sign in to comment.