Skip to content

Commit 3dba4fc

Browse files
Merge pull request #134 from ie3-institute/sp/#133-gradle-8.4
Update to gradle 8.4
2 parents 110045f + c28a750 commit 3dba4fc

File tree

9 files changed

+199
-125
lines changed

9 files changed

+199
-125
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased/Snapshot]
88

9+
### Changed
10+
- Updating to gradle 8.4 [#133](https://github.com/ie3-institute/simonaAPI/issues/133)
11+
912
## [0.2.0] - 2023-08-01
1013

1114
### Added

build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ ext {
2323

2424
group = 'com.github.ie3-institute'
2525
description = 'simonaAPI'
26-
sourceCompatibility = javaVersion
27-
targetCompatibility = javaVersion
26+
27+
java {
28+
sourceCompatibility = javaVersion
29+
targetCompatibility = javaVersion
30+
}
2831

2932
apply from: scriptsLocation + 'spotless.gradle'
3033
apply from: scriptsLocation + 'pmd.gradle'

gradle/scripts/documentation.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
def docBaseDirPath = project.projectDir.toString() + File.separator + project.docsDirName.toString() + File.separator
2-
31
/*
42
* Additional tasks, that are defined by default:
53
* - sphinx -> Generate HTML output of *.rst files in <projectDir>/docs/readthedocs
@@ -13,6 +11,6 @@ javadoc() {
1311
group 'Documentation'
1412

1513
source = sourceSets.main.allJava
16-
classpath = project.sourceSets.main.compileClasspath
14+
classpath = sourceSets.main.compileClasspath
1715
}
1816

gradle/scripts/jacoco.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jacocoTestReport {
1212
xml.required = true
1313
csv.required = false
1414
html.required = true
15-
html.destination file("${buildDir}/reports/jacoco")
15+
html.outputLocation = layout.buildDirectory.dir("reports/jacoco")
1616
}
1717

1818
// what to exclude from coverage report (files that should not be analyzed!)
@@ -28,7 +28,7 @@ jacocoTestReport {
2828
]
2929

3030
getClassDirectories().setFrom(fileTree(
31-
dir: "$buildDir/classes/",
31+
dir: "${layout.buildDirectory}/classes/",
3232
excludes: excludes
3333
))
3434

gradle/scripts/spotless.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ spotless {
2020
licenseHeader "#!groovy\n\n" + ie3LicHead, "////////////////////////////////"
2121
// the Groovy Eclipse formatter extends the Java Eclipse formatter,
2222
// so it formats Java files by default (unless `excludeJava` is used).
23-
greclipse()
23+
// FIXME rolled back greclipse version https://github.com/diffplug/spotless/issues/1860
24+
greclipse('4.27')
2425
indentWithSpaces 2
2526
}
2627

2728
groovyGradle {
2829
// same as groovy, but for .gradle (defaults to '*.gradle')
2930
target '*.gradle', 'gradle/scripts/*.gradle'
30-
greclipse()
31+
// FIXME rolled back greclipse version https://github.com/diffplug/spotless/issues/1860
32+
greclipse('4.27')
3133
indentWithSpaces 2
3234
}
3335

gradle/wrapper/gradle-wrapper.jar

3.75 KB
Binary file not shown.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)