File tree Expand file tree Collapse file tree 9 files changed +199
-125
lines changed Expand file tree Collapse file tree 9 files changed +199
-125
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [ Unreleased/Snapshot]
8
8
9
+ ### Changed
10
+ - Updating to gradle 8.4 [ #133 ] ( https://github.com/ie3-institute/simonaAPI/issues/133 )
11
+
9
12
## [ 0.2.0] - 2023-08-01
10
13
11
14
### Added
Original file line number Diff line number Diff line change 23
23
24
24
group = ' com.github.ie3-institute'
25
25
description = ' simonaAPI'
26
- sourceCompatibility = javaVersion
27
- targetCompatibility = javaVersion
26
+
27
+ java {
28
+ sourceCompatibility = javaVersion
29
+ targetCompatibility = javaVersion
30
+ }
28
31
29
32
apply from : scriptsLocation + ' spotless.gradle'
30
33
apply from : scriptsLocation + ' pmd.gradle'
Original file line number Diff line number Diff line change 1
- def docBaseDirPath = project. projectDir. toString() + File . separator + project. docsDirName. toString() + File . separator
2
-
3
1
/*
4
2
* Additional tasks, that are defined by default:
5
3
* - sphinx -> Generate HTML output of *.rst files in <projectDir>/docs/readthedocs
@@ -13,6 +11,6 @@ javadoc() {
13
11
group ' Documentation'
14
12
15
13
source = sourceSets. main. allJava
16
- classpath = project . sourceSets. main. compileClasspath
14
+ classpath = sourceSets. main. compileClasspath
17
15
}
18
16
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ jacocoTestReport {
12
12
xml. required = true
13
13
csv. required = false
14
14
html. required = true
15
- html. destination file( " ${ buildDir } / reports/jacoco" )
15
+ html. outputLocation = layout . buildDirectory . dir( " reports/jacoco" )
16
16
}
17
17
18
18
// what to exclude from coverage report (files that should not be analyzed!)
@@ -28,7 +28,7 @@ jacocoTestReport {
28
28
]
29
29
30
30
getClassDirectories(). setFrom(fileTree(
31
- dir : " $b uildDir /classes/" ,
31
+ dir : " ${ layout.buildDirectory } /classes/" ,
32
32
excludes : excludes
33
33
))
34
34
Original file line number Diff line number Diff line change @@ -20,14 +20,16 @@ spotless {
20
20
licenseHeader " #!groovy\n\n " + ie3LicHead, " ////////////////////////////////"
21
21
// the Groovy Eclipse formatter extends the Java Eclipse formatter,
22
22
// 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' )
24
25
indentWithSpaces 2
25
26
}
26
27
27
28
groovyGradle {
28
29
// same as groovy, but for .gradle (defaults to '*.gradle')
29
30
target ' *.gradle' , ' gradle/scripts/*.gradle'
30
- greclipse()
31
+ // FIXME rolled back greclipse version https://github.com/diffplug/spotless/issues/1860
32
+ greclipse(' 4.27' )
31
33
indentWithSpaces 2
32
34
}
33
35
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
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
4
6
zipStoreBase =GRADLE_USER_HOME
5
7
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments