ci(java): try skipping module from cli args

while building, those tasks dont exist so it fails building
This commit is contained in:
əlemi 2024-09-18 15:58:34 +02:00
parent 7a5b610670
commit 8c6e70cbe8
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 1 additions and 9 deletions

View file

@ -44,7 +44,7 @@ jobs:
with:
name: codemp-java-${{ matrix.platform.target }}
path: dist/java/build/libs
- run: gradle publish
- run: gradle publish -x generateMetadataFileForBinaryAndSourcesPublication -x generateMetadataFileForBinaryPublication
working-directory: dist/java
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}

View file

@ -48,14 +48,6 @@ processResources {
}
}
generateMetadataFileForBinaryAndSourcesPublication.configure {
enabled = false
}
generateMetadataFileForBinaryPublication.configure {
enabled = false
}
import com.vanniktech.maven.publish.SonatypeHost
mavenPublishing {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)