// Autogenerated by MetaBuild
plugins {
java
`java-library`
`maven-publish`
}
group="uk.co.nickthecoder"
version="2.1.7"
repositories {
mavenCentral()
maven {
name="foocad"
url=uri("https://gitlab.com/api/v4/projects/16890879/packages/maven")
}
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
dependencies {
implementation( "org.antlr:antlr4-runtime:4.13.1")
implementation( "org.ow2.asm:asm:7.3.1")
}
publishing {
publications {
create<MavenPublication>("feather2-grammar") {
from(components["java"])
}
}
repositories {
maven {
url = uri("https://gitlab.com/api/v4/projects/60506750/packages/maven")
credentials(HttpHeaderCredentials::class) {
name = "Private-Token"
value = providers.gradleProperty("gitLabPrivateToken").get()
}
authentication {
create<HttpHeaderAuthentication>("header")
}
}
}
}