Skip to content

Commit

Permalink
Merge branch 'tsi-2083-java-format' of github.com:phrase/openapi into…
Browse files Browse the repository at this point in the history
… tsi-2083-java-format
  • Loading branch information
hahmed-dev committed Oct 12, 2023
2 parents 4262678 + 4d7ed52 commit 192b584
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
with:
distribution: temurin
java-version: 11
- name: Run Gradle Tests
- name: Run gradle test
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.1.1
build-root-directory: ./clients/java
arguments: test
arguments: test --info
8 changes: 7 additions & 1 deletion openapi-generator/templates/java/build.gradle.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ if(hasProperty('target') && target == 'android') {
main = System.getProperty('mainClass')
classpath = sourceSets.main.runtimeClasspath
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
Expand Down Expand Up @@ -177,6 +177,12 @@ dependencies {
testCompile "junit:junit:$junit_version"
}

test {
testLogging {
outputs.upToDateWhen {false}
showStandardStreams = true
}
}

publishing {
publications {
Expand Down

0 comments on commit 192b584

Please sign in to comment.