Skip to content

Commit f1f6194

Browse files
committed
Deploy properties file to maven
1 parent 4da37b2 commit f1f6194

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ publishing {
8787

8888
publications {
8989
create<MavenPublication>("nukkit") {
90+
artifact(tasks.generateGitProperties) {
91+
extension = "properties"
92+
}
9093
from(components["java"])
9194
}
9295
}
@@ -140,3 +143,7 @@ tasks {
140143
options.encoding = "UTF-8"
141144
}
142145
}
146+
147+
gitProperties {
148+
customProperty("github.repo", "CloudburstMC/Nukkit")
149+
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ fastutilmaps = [ "fastutil-int-short-maps", "fastutil-long-byte-maps" ]
4545

4646
[plugins]
4747
shadow = { id = "com.github.johnrengelman.shadow", version = "8.0.0" }
48-
git = { id = "com.gorylenko.gradle-git-properties", version = "2.4.1" }
48+
git = { id = "com.gorylenko.gradle-git-properties", version = "2.4.2" }

0 commit comments

Comments
 (0)