2020-08-26 20:02:36 +07:00
|
|
|
plugins {
|
|
|
|
kotlin("jvm") version "1.4.0"
|
2020-08-27 10:19:50 +07:00
|
|
|
`java-library`
|
|
|
|
id("de.marcphilipp.nexus-publish") version "0.4.0"
|
2020-08-26 20:02:36 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
group = "com.cubetiqs.libra"
|
|
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("stdlib"))
|
2020-08-26 20:28:32 +07:00
|
|
|
testImplementation("org.junit.vintage:junit-vintage-engine:5.6.2")
|
2020-08-26 20:02:36 +07:00
|
|
|
}
|
2020-08-27 10:19:50 +07:00
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
create<MavenPublication>("mavenJava") {
|
|
|
|
from(components["java"])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nexusPublishing {
|
|
|
|
repositories {
|
|
|
|
create("mavenJava") {
|
|
|
|
nexusUrl.set(uri("https://nexus.osa.cubetiqs.com/repository/local-maven-dev/"))
|
|
|
|
snapshotRepositoryUrl.set(uri("https://nexus.osa.cubetiqs.com/repository/local-maven-dev/"))
|
|
|
|
username.set("cubetiq")
|
|
|
|
password.set("cube17tiq")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|