Exit Full View

Feather2 / feather2-core / build.gradle.kts

// Autogenerated by MetaBuild

plugins {
    kotlin("jvm") version "2.1.0"
    `maven-publish`
    id("org.jetbrains.dokka") version "2.0.0"
}
group="uk.co.nickthecoder"
version="2.1.7"
repositories {
    mavenCentral()

    maven {
        name="foocad"
        url=uri("https://gitlab.com/api/v4/projects/16890879/packages/maven")
    }
}
kotlin {
    jvmToolchain(11)
}
dependencies {
    implementation(project(":feather2-runtime"))
    implementation(project(":feather2-grammar"))
    testImplementation(project(":feather2-javaexamples"))
    implementation( "org.antlr:antlr4-runtime:4.13.1")
    implementation( "org.ow2.asm:asm:7.3.1")
    implementation( "org.apache.xbean:xbean-classloader:4.18")
    testImplementation( "junit:junit:4.11")
    testImplementation( "org.ow2.asm:asm-util:7.3.1")
}
publishing {
    publications {
        create<MavenPublication>("feather2-core") {
            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")
            }
        }
    }
}
tasks.dokkaHtml {
    moduleName.set("feather2-core")
}