Skip to content

Commit 52bac44

Browse files
committed
1.32
1 parent f774e87 commit 52bac44

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
4343
with:
4444
tag_name: ${{ github.ref }}
45-
release_name: BetterTaskbar - ${{ github.ref }}
45+
release_name: FelNullJavaLibrary - ${{ github.ref }}
4646
body: |
4747
The New Release!
4848
Build by ${{ github.actor }}

native/build.gradle

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id 'java'
3-
//id 'maven-publish'
4-
// id 'signing'
3+
id 'maven-publish'
4+
id 'signing'
55
}
66
group rootProject.group
77
archivesBaseName = rootProject.archivesBaseName + "-native"
@@ -25,15 +25,15 @@ java {
2525
withJavadocJar()
2626
withSourcesJar()
2727
}
28-
/*
28+
2929
publishing {
3030
publications {
3131
mavenJava(MavenPublication) {
3232
artifactId = archivesBaseName
3333
from components.java
3434
pom {
3535
name = 'FelNullJavaLibrary-Native'
36-
description = 'Java integrated library(Native onery) used by FelNull'
36+
description = 'Java integrated library(native onry) used by FelNull'
3737
url = 'https://github.com/TeamFelnull/'
3838
licenses {
3939
license {
@@ -66,15 +66,19 @@ publishing {
6666
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots"
6767
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
6868
credentials {
69-
username = "${sonatypeUsername}"
70-
password = "${sonatypePassword}"
69+
username = System.getenv('sonatypeusername')
70+
password = System.getenv('sonatypepassword')
7171
}
7272
}
7373
}
7474
}
7575

7676
signing {
7777
sign publishing.publications.mavenJava
78+
def signingKeyId = System.getenv('signingkeyid')
79+
def signingKey = System.getenv('signingkey')
80+
def signingPassword = System.getenv('signingpassword')
81+
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
7882
}
7983

8084
javadoc {
@@ -84,6 +88,3 @@ javadoc {
8488
options.charSet = 'UTF-8'
8589
options.encoding = 'UTF-8'
8690
}
87-
88-
89-
*/

0 commit comments

Comments
 (0)