|
42 | 42 | 'Created-By': System.properties['java.version'] + " (" + System.properties['java.vendor'] + " " + System.properties['java.vm.version'] + ")",
|
43 | 43 | 'Build-Date': project.buildDate,
|
44 | 44 | 'Build-Time': project.buildTime,
|
45 |
| - 'Build-Revision': versioning.info.commit, |
| 45 | +// 'Build-Revision': versioning.info.commit, |
46 | 46 | 'Specification-Title': project.name,
|
47 | 47 | 'Specification-Version': project.version,
|
48 | 48 | 'Implementation-Title': project.name,
|
@@ -86,26 +86,26 @@ publishing {
|
86 | 86 | // Destination Repository 'GitHubPackages'
|
87 | 87 | // -> call task 'publishMavenJavaPublicationToGitHubPackagesRepository' to publish
|
88 | 88 | // --------------------------------------------------------------------------------
|
89 |
| - maven { |
90 |
| - name = "GitHubPackages" |
91 |
| - // see https://levelup.gitconnected.com/publish-a-maven-package-to-github-with-gradle-fabc6de24d6 |
92 |
| - // Replace OWNER and REPOSITORY with your GitHub username/repository |
93 |
| - // (must be both lowercase according to the documenations) |
94 |
| - // url = uri("https://maven.pkg.github.com/OWNER/REPOSITORY") |
95 |
| - url = uri(project.findProperty('publishingInfo').gitHubMavenRepo) |
96 |
| - credentials { |
97 |
| - // Make sure to generate a token with write-packages and read-packages permission: |
98 |
| - // https://github.com/settings/tokens/new |
99 |
| - // You can either store the username and token in |
100 |
| - // ~/.gradle/gradle.properties (use the gpr.user and gpr.key keys) |
101 |
| - // Or you can store them as environment variables e.g. in ~/.bash_profile or ~/.zsh |
102 |
| - // depending on your shell (GITHUB_USERNAME and GITHUB_TOKEN keys) |
103 |
| - // Or you pass them via CLI: gradle publish -Pgpr.user=username -Pgpr.key=token |
104 |
| - // See at EOF for examples on how to store the credentials |
105 |
| - username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME") |
106 |
| - password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN") |
107 |
| - } |
108 |
| - } |
| 89 | +// maven { |
| 90 | +// name = "GitHubPackages" |
| 91 | +// // see https://levelup.gitconnected.com/publish-a-maven-package-to-github-with-gradle-fabc6de24d6 |
| 92 | +// // Replace OWNER and REPOSITORY with your GitHub username/repository |
| 93 | +// // (must be both lowercase according to the documenations) |
| 94 | +// // url = uri("https://maven.pkg.github.com/OWNER/REPOSITORY") |
| 95 | +// url = uri(project.findProperty('publishingInfo').gitHubMavenRepo) |
| 96 | +// credentials { |
| 97 | +// // Make sure to generate a token with write-packages and read-packages permission: |
| 98 | +// // https://github.com/settings/tokens/new |
| 99 | +// // You can either store the username and token in |
| 100 | +// // ~/.gradle/gradle.properties (use the gpr.user and gpr.key keys) |
| 101 | +// // Or you can store them as environment variables e.g. in ~/.bash_profile or ~/.zsh |
| 102 | +// // depending on your shell (GITHUB_USERNAME and GITHUB_TOKEN keys) |
| 103 | +// // Or you pass them via CLI: gradle publish -Pgpr.user=username -Pgpr.key=token |
| 104 | +// // See at EOF for examples on how to store the credentials |
| 105 | +// username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME") |
| 106 | +// password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN") |
| 107 | +// } |
| 108 | +// } |
109 | 109 |
|
110 | 110 | // --------------------------------------------------------------------------------
|
111 | 111 | // Destination Repository 'OSSRH'
|
|
0 commit comments