diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 6b2c544..f430cb0 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -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 \ No newline at end of file + run: ./gradlew test publishToSonatype \ No newline at end of file diff --git a/build.gradle b/build.gradle index d28c236..8c5d233 100644 --- a/build.gradle +++ b/build.gradle @@ -16,11 +16,6 @@ allprojects { repositories { mavenCentral() // Use Maven Central Repo to search for Dependencies } - - java { - withSourcesJar() - withJavadocJar() - } } subprojects { @@ -92,6 +87,11 @@ subprojects { signing { sign publishing.publications.mavenJava } + + java { + withSourcesJar() + withJavadocJar() + } } nexusPublishing {