mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-19 11:59:06 +00:00
buildscript: add publication to publishing
This commit is contained in:
1 parent
1d64f1f1a4
commit
1d3fa3795e
1 file changed
+11
@@ -463,6 +463,17 @@ artifacts {
|
||||
|
||||
// publishing
|
||||
publishing {
|
||||
publications {
|
||||
maven(MavenPublication) {
|
||||
from components.java
|
||||
artifact source: sourcesJar, classifier: "src"
|
||||
artifact source: devJar, classifier: "dev"
|
||||
if (apiPackage) {
|
||||
archives source: apiJar, classifier: "api"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
String owner = System.getenv("REPOSITORY_OWNER") ?: "Unknown"
|
||||
|
||||
Reference in new issue
Block a user