mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 07:14:50 +01:00
ci(java): try skipping module from cli args
while building, those tasks dont exist so it fails building
This commit is contained in:
parent
7a5b610670
commit
8c6e70cbe8
2 changed files with 1 additions and 9 deletions
2
.github/workflows/java.yml
vendored
2
.github/workflows/java.yml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: codemp-java-${{ matrix.platform.target }}
|
name: codemp-java-${{ matrix.platform.target }}
|
||||||
path: dist/java/build/libs
|
path: dist/java/build/libs
|
||||||
- run: gradle publish
|
- run: gradle publish -x generateMetadataFileForBinaryAndSourcesPublication -x generateMetadataFileForBinaryPublication
|
||||||
working-directory: dist/java
|
working-directory: dist/java
|
||||||
env:
|
env:
|
||||||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
|
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
|
||||||
|
|
8
dist/java/build.gradle
vendored
8
dist/java/build.gradle
vendored
|
@ -48,14 +48,6 @@ processResources {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
generateMetadataFileForBinaryAndSourcesPublication.configure {
|
|
||||||
enabled = false
|
|
||||||
}
|
|
||||||
|
|
||||||
generateMetadataFileForBinaryPublication.configure {
|
|
||||||
enabled = false
|
|
||||||
}
|
|
||||||
|
|
||||||
import com.vanniktech.maven.publish.SonatypeHost
|
import com.vanniktech.maven.publish.SonatypeHost
|
||||||
mavenPublishing {
|
mavenPublishing {
|
||||||
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
|
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
|
||||||
|
|
Loading…
Reference in a new issue