diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index fef1f74..b15f4bf 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -42,6 +42,9 @@ jobs: - name: Sets permissions to run gradlew run: chmod a+x gradlew + - name: Print classpath + run: ./gradlew -q printClasspath + - name: Build with Gradle Wrapper run: ./gradlew --info build diff --git a/build.gradle b/build.gradle index e59f133..36dfe73 100644 --- a/build.gradle +++ b/build.gradle @@ -189,6 +189,11 @@ sourceSets { srcDirs = ['src/main/java', "$buildDir/generate-resources/src/main/java"] } } + test { + resources { + srcDir 'src/test/resources' + } + } } import org.ajoberstar.grgit.Grgit @@ -213,4 +218,10 @@ task updateSwaggerVersion { tasks.named('openApiGenerate').configure { dependsOn updateSwaggerVersion } + +task printClassPath { + doLast { + println sourceSets.test.runtimeClasspath.join("\n") + } +} compileJava.dependsOn tasks.named('openApiGenerate') \ No newline at end of file