Skip to content

Commit 5f4214d

Browse files
authored
Merge pull request #113 from ie3-institute/jh/000-release-v1
preparing v1.0 release
2 parents bb1aaec + 00256ba commit 5f4214d

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

Jenkinsfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ if (env.BRANCH_NAME == "master") {
143143
usernamePassword(credentialsId: mavenCentralSignKeyId, passwordVariable: 'signingPassword', usernameVariable: 'signingKeyId')]) {
144144
deployGradleTasks = "--refresh-dependencies clean allTests " + deployGradleTasks + "publish -Puser=${env.mavencentral_username} -Ppassword=${env.mavencentral_password} -Psigning.keyId=${env.signingKeyId} -Psigning.password=${env.signingPassword} -Psigning.secretKeyRingFile=${env.mavenCentralKeyFile}"
145145

146-
gradle("${deployGradleTasks}")
146+
// see https://docs.gradle.org/6.0.1/release-notes.html "Publication of SHA256 and SHA512 checksums"
147+
def preventSHACheckSums = "-Dorg.gradle.internal.publish.checksums.insecure=true"
148+
gradle("${deployGradleTasks} $preventSHACheckSums")
147149

148150
}
149151

build.gradle

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

2424
group = 'com.github.ie3-institute'
2525
description = 'PowerSystemDataModel'
26-
version = '0.1-SNAPSHOT'
26+
version = '1.0'
2727
sourceCompatibility = javaVersion
2828
targetCompatibility = javaVersion
2929

@@ -40,19 +40,11 @@ repositories {
4040
jcenter() //searches in bintray's repository 'jCenter', which contains Maven Central
4141
maven { url 'https://www.jitpack.io' } // allows github repos as dependencies
4242

43-
// sonatype snapshots repo // todo remove
44-
maven { url 'https://oss.sonatype.org/service/local/repositories/snapshots/content' }
45-
4643
}
4744

4845
dependencies {
49-
// ie³ internal repository for units
50-
// compile 'com.github.ie3-institute:PowerSystemUtils:1.3' // todo enable again
51-
52-
// todo remove snapshot again
53-
compile('com.github.ie3-institute:PowerSystemUtils:1.3-SNAPSHOT') {
54-
exclude group: 'org.slf4j', module: 'slf4j-api'
55-
}
46+
// ie³ power system utils
47+
compile 'com.github.ie3-institute:PowerSystemUtils:1.3.1'
5648

5749
compile "tec.uom:uom-se:$unitsOfMeasurementVersion"
5850

0 commit comments

Comments
 (0)