This repository was archived by the owner on Jun 2, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Expand file tree Collapse file tree 5 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ plugins {
7
7
}
8
8
9
9
group = " com.github.navikt"
10
- version = properties[" version" ] ? : " local-build"
10
+ version = ( if ( properties[" version" ] != null && properties[ " version " ] != " unspecified " ) properties[ " version " ] else " local-build" ) !!
11
11
12
12
java {
13
13
sourceCompatibility = JavaVersion .VERSION_1_8
@@ -34,17 +34,18 @@ val test by tasks.getting(Test::class) {
34
34
// Use junit platform for unit tests
35
35
useJUnitPlatform()
36
36
testLogging {
37
- events(" passed" , " skipped" , " failed" )
38
- showExceptions = true
39
- showStackTraces = true
40
- showCauses = true
41
- exceptionFormat = TestExceptionFormat .FULL
42
- showStandardStreams = true
37
+ events(" passed" , " skipped" , " failed" )
38
+ showExceptions = true
39
+ showStackTraces = true
40
+ showCauses = true
41
+ exceptionFormat = TestExceptionFormat .FULL
42
+ showStandardStreams = true
43
43
}
44
44
}
45
45
46
46
tasks.withType<Wrapper > {
47
- gradleVersion = " 6.4.1"
47
+ gradleVersion = " 6.4.1"
48
+ distributionType = Wrapper .DistributionType .ALL
48
49
}
49
50
50
51
val sourcesJar by tasks.registering(Jar ::class ) {
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-6.2.2-bin .zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.4.1-all .zip
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 82
82
83
83
CLASSPATH=$APP_HOME /gradle/wrapper/gradle-wrapper.jar
84
84
85
+
85
86
# Determine the Java command to use to start the JVM.
86
87
if [ -n " $JAVA_HOME " ] ; then
87
88
if [ -x " $JAVA_HOME /jre/sh/java" ] ; then
129
130
if [ " $cygwin " = " true" -o " $msys " = " true" ] ; then
130
131
APP_HOME=` cygpath --path --mixed " $APP_HOME " `
131
132
CLASSPATH=` cygpath --path --mixed " $CLASSPATH " `
133
+
132
134
JAVACMD=` cygpath --unix " $JAVACMD " `
133
135
134
136
# We build the pattern for arguments to be converted via cygpath
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ set CMD_LINE_ARGS=%*
84
84
85
85
set CLASSPATH = %APP_HOME% \gradle\wrapper\gradle-wrapper.jar
86
86
87
+
87
88
@ rem Execute Gradle
88
89
" %JAVA_EXE% " %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% " -Dorg.gradle.appname=%APP_BASE_NAME% " -classpath " %CLASSPATH% " org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
89
90
You can’t perform that action at this time.
0 commit comments