diff --git a/Jenkinsfile b/Jenkinsfile index 44357ef..8846761 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,7 +34,7 @@ pipeline { steps { withGradle { configFileProvider([configFile(fileId: '70cb2022-0bc2-4b25-98a4-e1526dbf2735', variable: 'GRADLE_PROPERTIES')]) { - sh 'GPG_TTY="$(tty)" ./gradlew --debug -PcustomProperties=${GRADLE_PROPERTIES} sign' + sh './gradlew --debug -PcustomProperties=${GRADLE_PROPERTIES} sign' sh './gradlew ${gradleParams} publishToMavenLocal' diff --git a/build_publish.gradle b/build_publish.gradle index ea8e2d3..df04bc4 100644 --- a/build_publish.gradle +++ b/build_publish.gradle @@ -54,7 +54,7 @@ publishing { // Signing signing { - //useGpgCmd() + required { hasProperty("signing.secretKeyRingFile") } sign publishing.publications.mavenJava } diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 0d63209..0000000 --- a/pom.xml +++ /dev/null @@ -1,254 +0,0 @@ - - - - 4.0.0 - - se.koc - zutil - 1.0.${build.number} - jar - - Zutil - A library containing utility classes and code snippets - https://github.com/Ziver/zutil - - - - MIT License - http://www.opensource.org/licenses/mit-license.php - - - - - - Ziver Koc - dev@koc.se - - - - - scm:git:https://github.com/Ziver/zutil.git - scm:git:https://repo.koc.se/zutil-java.git - https://github.com/Ziver/zutil - - - - 0-SNAPSHOT - true - 1.8 - UTF-8 - - - - - org.dom4j - dom4j - 2.1.3 - - - - org.xerial - sqlite-jdbc - 3.8.11.2 - - - mysql - mysql-connector-java - 8.0.28 - provided - - - - javax.servlet - javax.servlet-api - 3.1.0 - provided - - - org.openjfx - javafx-controls - 11 - provided - - - org.openjfx - javafx-fxml - 11 - provided - - - - org.shredzone.acme4j - acme4j-client - 2.12 - provided - - - org.shredzone.acme4j - acme4j-utils - 2.12 - provided - - - - commons-fileupload - commons-fileupload - 1.5 - provided - - - commons-io - commons-io - 2.7 - provided - - - - - junit - junit - 4.13.1 - test - - - org.hamcrest - hamcrest-core - 1.3 - - - com.carrotsearch - junit-benchmarks - 0.7.2 - - - - - src - test - - - src - - **/*.java - - - - - - - maven-compiler-plugin - 3.6.1 - - ${java.version} - ${java.version} - - - - - - org.apache.maven.plugins - maven-source-plugin - 2.2.1 - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 3.1.1 - - none - 8 - - - - attach-javadocs - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 3.2.4 - - ${build.development} - - - - sign-artifacts - verify - - sign - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - sonatype-nexus-snapshot - https://oss.sonatype.org/ - true - - - - maven-scm-plugin - 1.9.5 - - ${project.artifactId}-${project.version} - developerConnection - - - - org.codehaus.mojo - flatten-maven-plugin - - ossrh - - - - flatten - package - - flatten - - - - flatten.clean - clean - - clean - - - - - - - - - - sonatype-nexus-snapshot - Sonatype Nexus Snapshots - http://oss.sonatype.org/content/repositories/snapshots - - - sonatype-nexus-release - Nexus Release Repository - http://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - -