// Autogenerated by MetaBuild
plugins {
kotlin("jvm") version "2.1.0"
application
id("org.jetbrains.dokka") version "2.0.0"
`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")
}
}
defaultTasks( "installDist" )
kotlin {
jvmToolchain(11)
}
dependencies {
implementation(project(":feather2-core"))
implementation(project(":feather2-runtime"))
implementation( "org.apache.xbean:xbean-classloader:4.18")
}
application{
mainClass.set("uk.co.nickthecoder.feather.Feather2")
}
tasks.dokkaHtml {
moduleName.set("Feather2")
moduleVersion.set("2.1.7")
}
publishing {
publications {
create<MavenPublication>("feather2") {
from(components["kotlin"])
}
}
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")
}
}
}
}
task<Exec>("ntc") {
dependsOn( "distZip", "dokkaHtml" )
commandLine( "publishToNTC.feather","--","2.1.7")
}