Skip to content

Commit a35bcc6

Browse files
Merge pull request #1321 from ie3-institute/sp/#000-merge-back-changes
Merging back changes from 7.0 release
2 parents c143c0b + cc4a9e8 commit a35bcc6

File tree

7 files changed

+36
-26
lines changed

7 files changed

+36
-26
lines changed

CHANGELOG.md

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

77
## [Unreleased/Snapshot]
88

9+
## [7.0.0] - 2025-05-08
10+
911
### Added
1012
- Implemented GitHub Actions for automatic code integration. [#1237](https://github.com/ie3-institute/PowerSystemDataModel/issues/1237)
1113
- Added `CopyBuilders` to `Line-/Transformer2W-/Tranformer3WTypeInput` [#1275](https://github.com/ie3-institute/PowerSystemDataModel/issues/1275)
@@ -20,6 +22,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2022
- Removed Jenkinsfile [#1315](https://github.com/ie3-institute/PowerSystemDataModel/issues/1315)
2123
- Updated readthedocs config [#1317](https://github.com/ie3-institute/PowerSystemDataModel/issues/1317)
2224

25+
### Updates
26+
- Updated gradle to v8.14
27+
- Updated PSU to 3.1.0
28+
2329
## [6.0.0] - 2025-02-27
2430

2531
### Added
@@ -351,7 +357,8 @@ coordinates or multiple exactly equal coordinates possible
351357
- CsvDataSource now stops trying to get an operator for empty operator uuid field in entities
352358
- CsvDataSource now parsing multiple geoJson strings correctly
353359

354-
[Unreleased/Snapshot]: https://github.com/ie3-institute/powersystemdatamodel/compare/6.0.0...HEAD
360+
[Unreleased/Snapshot]: https://github.com/ie3-institute/powersystemdatamodel/compare/7.0.0...HEAD
361+
[7.0.0]: https://github.com/ie3-institute/powersystemdatamodel/compare/6.0.0...7.0.0
355362
[6.0.0]: https://github.com/ie3-institute/powersystemdatamodel/compare/5.1.0...6.0.0
356363
[5.1.0]: https://github.com/ie3-institute/powersystemdatamodel/compare/5.0.1...5.1.0
357364
[5.0.1]: https://github.com/ie3-institute/powersystemdatamodel/compare/5.0.0...5.0.1

gradle/scripts/mavenCentralPublish.gradle

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,25 @@
11
/* Maven publish - start */
2-
task sourcesJar(type: Jar) {
2+
3+
tasks.register("sourcesJar", Jar) {
34
archiveClassifier.set("sources")
45
from sourceSets.main.allJava
56
}
67

7-
task javadocJar(type: Jar, dependsOn: javadoc) {
8+
tasks.register("javadocJar", Jar) {
9+
dependsOn tasks.named("javadoc", Javadoc)
810
archiveClassifier.set("javadoc")
9-
from javadoc.destinationDir
11+
from { tasks.named("javadoc", Javadoc).get().destinationDir }
1012
}
1113

12-
1314
if (project.hasProperty('user') && project.hasProperty('password') && project.hasProperty('deployVersion')) {
1415

1516
// snapshot version differs from normal version
1617
String versionString = project.getProperty('deployVersion')
1718

18-
signing {
19-
required { !versionString.endsWith('SNAPSHOT') }
20-
if (required)
21-
sign(publishing.publications)
22-
}
2319

2420
publishing {
2521
publications {
26-
mavenJava(MavenPublication) {
22+
create("mavenJava", MavenPublication) {
2723

2824
versionMapping {
2925
// resolves dynamic versioning to current version number
@@ -66,9 +62,9 @@ if (project.hasProperty('user') && project.hasProperty('password') && project.ha
6662
}
6763

6864
removeTestDependenciesFromPom(pom)
69-
groupId group
70-
artifactId 'PowerSystemDataModel'
71-
version versionString
65+
groupId = group
66+
artifactId = 'PowerSystemDataModel'
67+
version = versionString
7268

7369
from components.java
7470
artifact sourcesJar
@@ -86,18 +82,21 @@ if (project.hasProperty('user') && project.hasProperty('password') && project.ha
8682
}
8783
}
8884
}
85+
signing {
86+
useInMemoryPgpKeys(
87+
findProperty('signingKey') as String,
88+
findProperty('signingPassword') as String
89+
)
90+
sign publications.mavenJava
91+
}
8992
}
9093

91-
92-
model {
93-
tasks.generatePomFileForMavenJavaPublication {
94-
destination = file("$rootDir/generated-pom.xml")
95-
}
94+
tasks.named("generatePomFileForMavenJavaPublication") {
95+
destination = layout.buildDirectory.file("generated-pom.xml").get().asFile
9696
}
9797
}
9898

9999
def removeTestDependenciesFromPom(pom) {
100-
101100
pom.withXml {
102101
def root = asNode()
103102
// eliminate test-scoped dependencies (no need in maven central POMs)

gradle/wrapper/gradle-wrapper.jar

252 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# See the License for the specific language governing permissions and
1616
# limitations under the License.
1717
#
18+
# SPDX-License-Identifier: Apache-2.0
19+
#
1820

1921
##############################################################################
2022
#
@@ -84,7 +86,7 @@ done
8486
# shellcheck disable=SC2034
8587
APP_BASE_NAME=${0##*/}
8688
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87-
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
8890

8991
# Use the maximum available, or set MAX_FD != -1 to use that value.
9092
MAX_FD=maximum
@@ -203,7 +205,7 @@ fi
203205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
204206

205207
# Collect all arguments for the java command:
206-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
207209
# and any embedded shellness will be escaped.
208210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
209211
# treated as '${Hostname}' itself on the command line.

gradlew.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
@rem See the License for the specific language governing permissions and
1414
@rem limitations under the License.
1515
@rem
16+
@rem SPDX-License-Identifier: Apache-2.0
17+
@rem
1618

1719
@if "%DEBUG%"=="" @echo off
1820
@rem ##########################################################################

version.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#Generated by the Semver Plugin for Gradle
2-
#Thu May 08 14:54:26 CEST 2025
2+
#Thu May 08 17:03:55 CEST 2025
33
version.buildmeta=
44
version.major=7
5-
version.minor=0
5+
version.minor=1
66
version.patch=0
77
version.prerelease=
8-
version.semver=7.0.0
8+
version.semver=7.1.0

0 commit comments

Comments
 (0)