Upgraded to Gradle 8.0
This commit is contained in:
parent
d67cf4ace7
commit
db84691691
2 changed files with 15 additions and 4 deletions
17
build.gradle
17
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/'))
|
||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue