Cleanup.
This commit is contained in:
parent
e6ced56e1b
commit
44e8d91603
3 changed files with 19 additions and 13 deletions
2
.idea/modules/mobibot.iml
generated
2
.idea/modules/mobibot.iml
generated
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module external.linked.project.id="mobibot" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.version="0.7.3-beta+469" type="JAVA_MODULE" version="4">
|
||||
<module external.linked.project.id="mobibot" external.linked.project.path="$MODULE_DIR$/../.." external.root.project.path="$MODULE_DIR$/../.." external.system.id="GRADLE" external.system.module.group="" external.system.module.version="0.7.3-beta+484" type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<output url="file://$MODULE_DIR$/../../out/production/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/../../out/test/classes" />
|
||||
|
|
30
build.gradle
30
build.gradle
|
@ -23,8 +23,11 @@ final def semverProcessor = "net.thauvin.erik:semver:1.2.0"
|
|||
mainClassName = packageName + '.Mobibot'
|
||||
|
||||
ext {
|
||||
log4j = '2.12.0'
|
||||
spotbugs_annotations = '4.0.0-beta3'
|
||||
versions = [
|
||||
kotlin : '1.3.40',
|
||||
log4j : '2.12.0',
|
||||
spotbugs_annotations : '4.0.0-beta3'
|
||||
]
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
@ -40,9 +43,9 @@ dependencies {
|
|||
compile 'pircbot:pircbot:1.5.0'
|
||||
compileOnly 'pircbot:pircbot:1.5.0:sources'
|
||||
|
||||
compile "org.apache.logging.log4j:log4j-api:$log4j"
|
||||
compile "org.apache.logging.log4j:log4j-core:$log4j"
|
||||
compile "org.apache.logging.log4j:log4j-slf4j-impl:$log4j"
|
||||
compile "org.apache.logging.log4j:log4j-api:$versions.log4j"
|
||||
compile "org.apache.logging.log4j:log4j-core:$versions.log4j"
|
||||
compile "org.apache.logging.log4j:log4j-slf4j-impl:$versions.log4j"
|
||||
|
||||
compile 'commons-cli:commons-cli:1.4'
|
||||
|
||||
|
@ -59,15 +62,18 @@ dependencies {
|
|||
compile 'net.thauvin.erik:pinboard-poster:1.0.1'
|
||||
|
||||
compile 'net.aksingh:owm-japis:2.5.3.0'
|
||||
// Override own-japis dependencies with newer version of Kotlin
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin"
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$versions.kotlin"
|
||||
|
||||
testImplementation 'org.testng:testng:6.14.3'
|
||||
testImplementation 'org.assertj:assertj-core:3.12.2'
|
||||
testImplementation 'org.assertj:assertj-core:3.13.1'
|
||||
|
||||
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.9.0'
|
||||
spotbugsPlugins 'com.mebigfatguy.sb-contrib:sb-contrib:7.4.6'
|
||||
|
||||
compileOnly "com.github.spotbugs:spotbugs-annotations:$spotbugs_annotations"
|
||||
testCompileOnly "com.github.spotbugs:spotbugs-annotations:$spotbugs_annotations"
|
||||
compileOnly "com.github.spotbugs:spotbugs-annotations:$versions.spotbugs_annotations"
|
||||
testCompileOnly "com.github.spotbugs:spotbugs-annotations:$versions.spotbugs_annotations"
|
||||
}
|
||||
|
||||
test {
|
||||
|
@ -153,6 +159,10 @@ tasks.withType(Checkstyle) {
|
|||
}
|
||||
}
|
||||
|
||||
tasks.sonarqube {
|
||||
dependsOn("jacocoTestReport")
|
||||
}
|
||||
|
||||
task copyToDeploy(type: Copy) {
|
||||
from('properties')
|
||||
from jar
|
||||
|
@ -182,7 +192,3 @@ task release(dependsOn: ['wrapper', 'clean', 'deploy']) {
|
|||
group = 'Publishing'
|
||||
description = 'Releases new version.'
|
||||
}
|
||||
|
||||
tasks.sonarqube {
|
||||
dependsOn("jacocoTestReport")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue