Exit Full View

Feather2 / feather2-runtime / build.gradle.kts

// 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 {
    testImplementation( "junit:junit:4.11")
}
publishing {
    publications {
        create<MavenPublication>("feather2-runtime") {
            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")
            }
        }
    }
}