GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Publish: set signing config after publication is known. · TinyAndNeo/objectbox-java@3d36275

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • build.gradle
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎build.gradle‎

Copy file name to clipboardExpand all lines: build.gradle
+10-10Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,6 @@ configure(subprojects.findAll { projectNamesToPublish.contains(it.name) }) {
8686
apply plugin: 'maven-publish'
8787
apply plugin: 'signing'
8888

89-
signing {
90-
if (hasSigningProperties()) {
91-
String signingKey = new File(signingKeyFile).text
92-
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
93-
sign publishing.publications.mavenJava
94-
} else {
95-
println "Signing information missing/incomplete for ${project.name}"
96-
}
97-
}
98-
9989
publishing {
10090
repositories {
10191
maven {
@@ -155,6 +145,16 @@ configure(subprojects.findAll { projectNamesToPublish.contains(it.name) }) {
155145
}
156146
}
157147
}
148+
149+
signing {
150+
if (hasSigningProperties()) {
151+
String signingKey = new File(signingKeyFile).text
152+
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
153+
sign publishing.publications.mavenJava
154+
} else {
155+
println "Signing information missing/incomplete for ${project.name}"
156+
}
157+
}
158158
}
159159

160160
wrapper {

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.