43 lines
1004 B
Groovy
43 lines
1004 B
Groovy
ext {
|
|
ext.set("VERSION", '1.0.0')
|
|
}
|
|
|
|
version = ext.get("VERSION")
|
|
|
|
dependencies {
|
|
api 'net.kyori:adventure-api:4.17.0'
|
|
api 'net.kyori:adventure-text-minimessage:4.17.0'
|
|
api 'team.unnamed:creative-api:1.7.3'
|
|
api 'team.unnamed:creative-serializer-minecraft:1.7.3'
|
|
api 'team.unnamed:creative-server:1.7.3'
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
maven(MavenPublication) {
|
|
groupId = 'ru.dragonestia.msb3'
|
|
artifactId = 'resource-compiler'
|
|
version = project.ext.get("VERSION")
|
|
|
|
from components.java
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
name = "Gitea"
|
|
url = uri(MSB3_MAVEN_REPOSITORY)
|
|
allowInsecureProtocol = true
|
|
|
|
credentials(HttpHeaderCredentials) {
|
|
name = "Authorization"
|
|
value = "token ${dragonestiaGiteaToken}"
|
|
}
|
|
|
|
authentication {
|
|
header(HttpHeaderAuthentication)
|
|
}
|
|
}
|
|
}
|
|
}
|