Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ if (env.BRANCH_NAME == "master") {
usernamePassword(credentialsId: mavenCentralSignKeyId, passwordVariable: 'signingPassword', usernameVariable: 'signingKeyId')]) {
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}"

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

}

Expand Down
14 changes: 3 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ext {

group = 'com.github.ie3-institute'
description = 'PowerSystemDataModel'
version = '0.1-SNAPSHOT'
version = '1.0'
sourceCompatibility = javaVersion
targetCompatibility = javaVersion

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

// sonatype snapshots repo // todo remove
maven { url 'https://oss.sonatype.org/service/local/repositories/snapshots/content' }

}

dependencies {
// ie³ internal repository for units
// compile 'com.github.ie3-institute:PowerSystemUtils:1.3' // todo enable again

// todo remove snapshot again
compile('com.github.ie3-institute:PowerSystemUtils:1.3-SNAPSHOT') {
exclude group: 'org.slf4j', module: 'slf4j-api'
}
// ie³ power system utils
compile 'com.github.ie3-institute:PowerSystemUtils:1.3.1'

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

Expand Down