cubetiq-common-utils-module/build.gradle

49 lines
1.2 KiB
Groovy
Raw Normal View History

2020-07-03 10:53:34 +07:00
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
id 'maven'
}
2020-07-03 11:13:30 +07:00
group 'com.cubetiqs.libra'
2020-07-03 10:53:34 +07:00
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
2020-07-03 11:13:30 +07:00
url "${nexusUrl}/repository/maven-public/"
2020-07-03 10:53:34 +07:00
}
}
dependencies {
2020-07-03 12:06:41 +07:00
implementation 'com.cubetiqs.libra:parent:1.0-20200703.050136-4'
implementation 'com.cubetiqs.libra:logging:1.0-20200703.050529-4'
2020-07-03 10:53:34 +07:00
2020-07-03 11:13:30 +07:00
// required by logging module
2020-07-03 10:53:34 +07:00
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 {
2020-07-03 12:06:41 +07:00
kotlinOptions.freeCompilerArgs = ["-Xjsr305=strict"]
2020-07-03 10:53:34 +07:00
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)
}
}
}
}