DarkReflection/build.gradle

34 lines
714 B
Groovy
Raw Normal View History

plugins {
id 'java'
id 'maven-publish'
}
group = 'de.tudbut'
version = '1.0-SNAPSHOT'
2024-06-28 22:51:07 +02:00
publishing {
2024-06-28 22:51:07 +02:00
publications {
mavenJava(MavenPublication) {
groupId = "de.tudbut"
version = System.getenv("VERSION")
from components.java
}
}
repositories {
maven {
name = "Forgejo"
url = uri("https://git.tudbut.de/api/packages/TudbuT/maven")
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "token " + System.getenv("PUBLISH_TOKEN")
}
2024-06-28 22:51:07 +02:00
authentication {
header(HttpHeaderAuthentication)
}
}
}
}