Skip to content

Commit 8a9a207

Browse files
Merge pull request #136 from ie3-institute/rel/sp/#135-release-0.3.0
Release 0.3.0
2 parents 8d2c816 + 17e5a2c commit 8a9a207

File tree

17 files changed

+283
-186
lines changed

17 files changed

+283
-186
lines changed

CHANGELOG.md

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

77
## [Unreleased/Snapshot]
88

9+
## [0.3.0] - 2023-11-19
10+
11+
### Changed
12+
- Updating to gradle 8.4 [#133](https://github.com/ie3-institute/simonaAPI/issues/133)
13+
- Adapted to changed SIMONA scheduler protocol [#131](https://github.com/ie3-institute/simonaAPI/issues/131)
14+
915
## [0.2.0] - 2023-08-01
1016

1117
### Added
@@ -14,12 +20,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1420
- JavaDoc for many message classes [#59](https://github.com/ie3-institute/simonaAPI/issues/59)
1521
- Implemented `ExtEvDataTest` as part of [#77](https://github.com/ie3-institute/simonaAPI/issues/77)
1622

17-
### Fixed
18-
1923
### Changed
2024
- Refactored `ExtTrigger` -> `ExtSimMessage` and `ExtTriggerResponse` -> `ExtSimMessageResponse` [#5](https://github.com/ie3-institute/simonaAPI/issues/5)
2125
- Renamed messages to ease understanding [#62](https://github.com/ie3-institute/simonaAPI/issues/62)
2226
- Separating departures and arrivals in message protocol, properly handling exceptions [#77](https://github.com/ie3-institute/simonaAPI/issues/77)
2327

24-
[Unreleased/Snapshot]: https://github.com/ie3-institute/simonaapi/compare/0.2.0...HEAD
28+
[Unreleased/Snapshot]: https://github.com/ie3-institute/simonaapi/compare/0.3.0...HEAD
29+
[0.3.0]: https://github.com/ie3-institute/powersystemdatamodel/compare/0.2.0...0.3.0
2530
[0.2.0]: https://github.com/ie3-institute/powersystemdatamodel/compare/e3f0c247d9d2a92840f49412aa729c5f033cb4de...0.2.0

build.gradle

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
plugins {
22
id 'groovy' // groovy support
33
id 'java' // java support
4-
id 'com.diffplug.spotless' version '6.20.0'//code format
4+
id 'com.diffplug.spotless' version '6.22.0'//code format
55
id 'pmd' // code check, working on source code
6-
id 'com.github.spotbugs' version '5.1.0' // code check, working on byte code
7-
id "org.sonarqube" version "4.3.0.3225" // sonarqube
6+
id 'com.github.spotbugs' version '5.2.3' // code check, working on byte code
7+
id "org.sonarqube" version "4.4.1.3373" // sonarqube
88
id 'signing'
99
id 'maven-publish' // publish to a maven repo (local or mvn central, has to be defined)
1010
id 'jacoco' // java code coverage plugin
@@ -18,13 +18,16 @@ ext {
1818
// required for akka
1919
scalaVersion = "2.13"
2020

21-
scalaBinaryVersion = "2.13.11"
21+
scalaBinaryVersion = "2.13.12"
2222
}
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)