ClientBoot/build.gradle

48 lines
963 B
Groovy
Raw Normal View History

2024-06-25 04:09:03 +02:00
plugins {
id 'java'
id 'maven-publish'
}
group = 'de.com.baseband'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
2024-06-25 06:30:44 +02:00
maven { url = 'https://git.tudbut.de/api/packages/TudbuT/maven' }
}
configurations.configureEach {
resolutionStrategy.cacheChangingModulesFor 60, 'seconds'
2024-06-25 04:09:03 +02:00
}
dependencies {
2024-06-25 06:34:25 +02:00
implementation('de.tudbut:tuddylib:[1,)')
2024-06-25 04:09:03 +02:00
}
test {
}
publishing {
publications {
mavenJava(MavenPublication) {
version = System.getenv("VERSION")
from components.java
}
}
repositories {
maven {
name = "Forgejo"
url = uri("https://git.tudbut.de/api/packages/BaseBand/maven")
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "token " + System.getenv("PUBLISH_TOKEN")
}
authentication {
header(HttpHeaderAuthentication)
}
}
}
}