File tree 3 files changed +15
-5
lines changed
3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 31
31
uses : gradle/gradle-build-action@v2
32
32
33
33
- name : Run build and tests with Gradle wrapper
34
- run : ./gradlew test build
34
+ run : ./gradlew test build PdockerTests
35
35
36
36
- name : Publish test report
37
37
uses : mikepenz/action-junit-report@v3
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ version = '0.1-SNAPSHOT'
11
11
12
12
13
13
java {
14
- toolchain {
15
- languageVersion = JavaLanguageVersion . of(11 )
16
- }
14
+ // toolchain {
15
+ // languageVersion = JavaLanguageVersion.of(11)
16
+ // }
17
17
18
18
sourceCompatibility = ' 1.8'
19
19
targetCompatibility = ' 1.8'
@@ -27,6 +27,7 @@ repositories {
27
27
}
28
28
29
29
test {
30
+ onlyIf { project. hasProperty(' dockerTests' ) }
30
31
useJUnitPlatform()
31
32
testLogging {
32
33
events = [TestLogEvent . PASSED , TestLogEvent . FAILED , TestLogEvent . SKIPPED ]
@@ -60,6 +61,15 @@ dependencies {
60
61
}
61
62
62
63
publishing {
64
+ // repositories {
65
+ // maven {
66
+ // url = 'https://oss.sonatype.org/content/repositories/snapshots'
67
+ // credentials {
68
+ // username = sonatypeUsername
69
+ // password = sonatypePassword
70
+ // }
71
+ // }
72
+ // }
63
73
publications {
64
74
mavenJava(MavenPublication ) {
65
75
from components. java
Original file line number Diff line number Diff line change 1
- rootProject. name = ' rest-api-client'
1
+ rootProject. name = ' rest-api-java- client'
You can’t perform that action at this time.
0 commit comments