22 lines
708 B
Text
22 lines
708 B
Text
import org.gradle.api.artifacts.repositories.PasswordCredentials
|
|
import org.gradle.api.publish.PublishingExtension
|
|
|
|
allprojects {
|
|
group = providers.gradleProperty("group").orElse("rip.crit.nestj").get()
|
|
version = providers.gradleProperty("version").orElse("0.1.0-SNAPSHOT").get()
|
|
repositories { mavenCentral() }
|
|
}
|
|
|
|
subprojects {
|
|
plugins.withId("maven-publish") {
|
|
extensions.configure<PublishingExtension> {
|
|
repositories {
|
|
maven {
|
|
name = "Forgejo"
|
|
url = uri("https://ai.crit.rip/api/packages/jprims/maven")
|
|
credentials(PasswordCredentials::class)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|