From 1f4784c75e582f2910784429f69b251d9d8d2fc6 Mon Sep 17 00:00:00 2001 From: Speiger Date: Tue, 19 Apr 2022 16:58:22 +0200 Subject: [PATCH] Testing single task requirement --- .github/workflows/codecompare.yml | 2 -- build.gradle | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codecompare.yml b/.github/workflows/codecompare.yml index 9cc4308c..22620ab9 100644 --- a/.github/workflows/codecompare.yml +++ b/.github/workflows/codecompare.yml @@ -19,8 +19,6 @@ jobs: java-version: 11 - name: Make gradlew executable run: chmod +x ./gradlew - - name: Generate SourceCode with Gradle - run: ./gradlew generateGithubSource - name: Cache SonarCloud packages uses: actions/cache@v1 with: diff --git a/build.gradle b/build.gradle index a4c66e36..c824e2a5 100644 --- a/build.gradle +++ b/build.gradle @@ -57,6 +57,7 @@ dependencies { builderImplementation 'de.speiger:Simple-Code-Generator:1.0.7' testImplementation 'junit:junit:4.12' testImplementation 'com.google.guava:guava-testlib:31.0.1-jre' + } task generateSource(type: JavaExec) { @@ -92,6 +93,8 @@ task srcJar(type: Jar) { classifier = 'sources' } +compileJava.dependsOn generateGithubSource + javadoc.failOnError = false javadoc.options.memberLevel = JavadocMemberLevel.PUBLIC javadoc.options.quiet()