Skip to content

Commit

Permalink
Clean up publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
codeconsole committed Jan 24, 2024
1 parent a33a6aa commit 51e9cb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
echo "signing.secretKeyRingFile=${HOME}/.gradle/secring.gpg" >> ~/.gradle/gradle.properties
echo ${GPG_SIGNING_KEY} | base64 -d > ~/.gradle/secring.gpg
- name: Run build with Gradle Wrapper
run: ./gradlew assemble test publishToSonatype
run: ./gradlew test publishToSonatype
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ allprojects {
repositories {
mavenCentral() // Use Maven Central Repo to search for Dependencies
}

java {
withSourcesJar()
withJavadocJar()
}
}

subprojects {
Expand Down Expand Up @@ -92,6 +87,11 @@ subprojects {
signing {
sign publishing.publications.mavenJava
}

java {
withSourcesJar()
withJavadocJar()
}
}

nexusPublishing {
Expand Down

0 comments on commit 51e9cb4

Please sign in to comment.