Skip to content

Commit f496fd2

Browse files
committed
increased version to 1.3.2-SNAPSHOT + added doLast to printVersion task in build.gradle
1 parent baf7c2f commit f496fd2

File tree

1 file changed

+46
-44
lines changed

1 file changed

+46
-44
lines changed

build.gradle

Lines changed: 46 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
plugins {
2-
id "com.jfrog.artifactory" version "4.9.7"
3-
id 'groovy' // groovy support
4-
id 'java' // java support
5-
id 'maven-publish'
6-
id 'signing'
7-
id 'pmd' //code check, working on source code
8-
id 'com.github.spotbugs' version '2.0.0' //code check, working on byte code
9-
id 'com.diffplug.gradle.spotless' version '3.27.1'//code format
10-
id 'com.simonharrer.modernizer' version '1.6.0-1' //detect deprecated APIs
11-
id 'com.github.onslip.gradle-one-jar' version '1.0.5' // pack a self contained jar
12-
id 'jacoco' // java code coverage plugin
13-
id "org.sonarqube" version "2.7.1" // sonarqube
2+
id "com.jfrog.artifactory" version "4.9.7"
3+
id 'groovy' // groovy support
4+
id 'java' // java support
5+
id 'maven-publish'
6+
id 'signing'
7+
id 'pmd' //code check, working on source code
8+
id 'com.github.spotbugs' version '2.0.0' //code check, working on byte code
9+
id 'com.diffplug.gradle.spotless' version '3.27.1'//code format
10+
id 'com.simonharrer.modernizer' version '1.6.0-1' //detect deprecated APIs
11+
id 'com.github.onslip.gradle-one-jar' version '1.0.5' // pack a self contained jar
12+
id 'jacoco' // java code coverage plugin
13+
id "org.sonarqube" version "2.7.1" // sonarqube
1414
}
1515

1616
ext {
17-
// version (changing these should be considered thoroughly!)
18-
hibernateVersion = '5.3.3.Final'
19-
unitsOfMeasurementVersion = '1.0.10'
20-
slf4jVersion = '1.7.26'
21-
javaVersion = JavaVersion.VERSION_1_8
17+
// version (changing these should be considered thoroughly!)
18+
hibernateVersion = '5.3.3.Final'
19+
unitsOfMeasurementVersion = '1.0.10'
20+
slf4jVersion = '1.7.26'
21+
javaVersion = JavaVersion.VERSION_1_8
2222

23-
scriptsLocation = 'gradle' + File.separator + 'scripts' + File.separator //location of script plugins
23+
scriptsLocation = 'gradle' + File.separator + 'scripts' + File.separator //location of script plugins
2424
}
2525

2626
group = 'com.github.ie3-institute'
27-
version = '1.3.1'
27+
version = '1.3.2-SNAPSHOT'
2828
description = 'PowerSystemUtils'
2929
sourceCompatibility = javaVersion
3030
targetCompatibility = javaVersion
@@ -41,45 +41,47 @@ apply from: scriptsLocation + 'mavenCentralPublish.gradle'
4141

4242

4343
repositories {
44-
mavenLocal()
45-
maven { url = 'https://repo.maven.apache.org/maven2' }
46-
maven { url = "https://www.jitpack.io" } // allows for github repos as dependencies
44+
mavenLocal()
45+
maven { url = 'https://repo.maven.apache.org/maven2' }
46+
maven { url = "https://www.jitpack.io" } // allows for github repos as dependencies
4747
}
4848

4949
dependencies {
50-
// logging
51-
compile "org.slf4j:slf4j-api:$slf4jVersion" // slf4j wrapper
52-
compile 'com.lmax:disruptor:+' // async logging
53-
compile 'org.apache.logging.log4j:log4j-api:+' // log4j
54-
compile 'org.apache.logging.log4j:log4j-core:+' // log4j
55-
compile 'org.apache.logging.log4j:log4j-slf4j-impl:+' // log4j -> slf4j
50+
// logging
51+
compile "org.slf4j:slf4j-api:$slf4jVersion" // slf4j wrapper
52+
compile 'com.lmax:disruptor:+' // async logging
53+
compile 'org.apache.logging.log4j:log4j-api:+' // log4j
54+
compile 'org.apache.logging.log4j:log4j-core:+' // log4j
55+
compile 'org.apache.logging.log4j:log4j-slf4j-impl:+' // log4j -> slf4j
5656

57-
compile 'javax.measure:unit-api:+' // quantities
58-
compile "tec.uom:uom-se:$unitsOfMeasurementVersion" // quantities
59-
compile 'com.google.code.gson:gson:+' // java serialization, POJOs -> JSON
60-
compile 'org.apache.commons:commons-lang3:+' // for HashCodeBuilder
61-
compile 'com.github.johanneshiry:OSMonaut:+' // pbf parser
62-
compile "org.hibernate:hibernate-spatial:$hibernateVersion" // spatial operations in GeoUtils
63-
compile 'org.apache.commons:commons-math3:+' // mathematics and statistics components
64-
// JTS Topology Suite for GeoPositions, License: EPL 1.0 / EDL 1.0
65-
compile 'org.locationtech.jts:jts-core:1.16.1'
66-
compile 'org.locationtech.jts.io:jts-io-common:1.16.1'
57+
compile 'javax.measure:unit-api:+' // quantities
58+
compile "tec.uom:uom-se:$unitsOfMeasurementVersion" // quantities
59+
compile 'com.google.code.gson:gson:+' // java serialization, POJOs -> JSON
60+
compile 'org.apache.commons:commons-lang3:+' // for HashCodeBuilder
61+
compile 'com.github.johanneshiry:OSMonaut:+' // pbf parser
62+
compile "org.hibernate:hibernate-spatial:$hibernateVersion" // spatial operations in GeoUtils
63+
compile 'org.apache.commons:commons-math3:+' // mathematics and statistics components
64+
// JTS Topology Suite for GeoPositions, License: EPL 1.0 / EDL 1.0
65+
compile 'org.locationtech.jts:jts-core:1.16.1'
66+
compile 'org.locationtech.jts.io:jts-io-common:1.16.1'
6767

68-
// testing
69-
testCompile 'org.spockframework:spock-core:1.3-groovy-+'
68+
// testing
69+
testCompile 'org.spockframework:spock-core:1.3-groovy-+'
7070

71-
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:+' // find bugs in java programs
71+
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:+' // find bugs in java programs
7272

7373
}
7474

7575
wrapper {
76-
gradleVersion = '6.0.1'
76+
gradleVersion = '6.0.1'
7777
}
7878

7979
tasks.withType(JavaCompile) {
80-
options.encoding = 'UTF-8'
80+
options.encoding = 'UTF-8'
8181
}
8282

8383
task printVersion {
84-
println project.version
84+
doLast {
85+
println project.version
86+
}
8587
}

0 commit comments

Comments
 (0)