cubetiq-common-utils-module/build.gradle

49 lines
1.2 KiB
Groovy

plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
id 'maven'
}
group 'com.cubetiqs.libra'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url "${nexusUrl}/repository/maven-public/"
}
}
dependencies {
implementation 'com.cubetiqs.libra:parent:1.0-20200703.050136-4'
implementation 'com.cubetiqs.libra:logging:1.0-20200703.050529-4'
// required by logging module
implementation 'org.apache.logging.log4j:log4j-core:2.13.3'
implementation 'org.apache.commons:commons-text:1.8'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
testCompile group: 'junit', name: 'junit', version: '4.12'
}
compileKotlin {
kotlinOptions.freeCompilerArgs = ["-Xjsr305=strict"]
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: "${nexusUrl}/repository/maven-releases/") {
authentication(userName: nexusUsername, password: nexusPassword)
}
snapshotRepository(url: "${nexusUrl}/repository/maven-snapshots") {
authentication(userName: nexusUsername, password: nexusPassword)
}
}
}
}