diff --git a/build.gradle b/build.gradle index f09cdb1..f7da86e 100644 --- a/build.gradle +++ b/build.gradle @@ -70,7 +70,7 @@ dependencies { implementation "org.apache.logging.log4j:log4j-core:$versions.log4j" implementation "org.apache.logging.log4j:log4j-slf4j2-impl:$versions.log4j" - implementation 'com.rometools:rome:1.18.0' + implementation 'com.rometools:rome:1.19.0' implementation 'com.squareup.okhttp3:okhttp:4.10.0' implementation 'net.aksingh:owm-japis:2.5.3.0' implementation 'net.objecthunter:exp4j:0.4.8' @@ -92,11 +92,13 @@ dependencies { test { useTestNG() { - excludeGroups.add('twitter') + // excludeGroups.add('twitter') if (isCI) { excludeGroups.add('no-ci') } - println "Excluded test groups: ${excludeGroups}" + if (!excludeGroups.isEmpty()) { + println "Excluded test groups: ${excludeGroups}" + } } } @@ -153,6 +155,15 @@ detekt { baseline = file("${projectDir}/config/detekt/baseline.xml") } +tasks.withType(io.gitlab.arturbosch.detekt.Detekt).configureEach { + jvmTarget = java.targetCompatibility.toString() +} + +tasks.withType(io.gitlab.arturbosch.detekt.DetektCreateBaselineTask).configureEach { + jvmTarget = java.targetCompatibility.toString() +} + + jar { manifest.attributes('Main-Class': mainClassName, 'Class-Path': '. ./lib/' + configurations.runtimeClasspath.collect { it.getName() }.join(' ./lib/')) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f398c33..42defcc 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists