diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c3e3795..ac6cdc8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,11 +18,9 @@ jobs: with: distribution: 'zulu' java-version: 21 + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 - name: Checkstyle - uses: gradle/gradle-build-action@v3 - with: - arguments: checkstyleMain checkstyleTest + run: ./gradlew checkstyleMain checkstyleTest --scan - name: Build with Gradle - uses: gradle/gradle-build-action@v3 - with: - arguments: check + run: ./gradlew check --scan diff --git a/settings.gradle b/settings.gradle index d98d03f1..476456f7 100644 --- a/settings.gradle +++ b/settings.gradle @@ -9,6 +9,10 @@ pluginManagement { } } +plugins { + id "com.gradle.develocity" version "3.17.5" +} + rootProject.name = 'muyun' assert JavaVersion.current() >= JavaVersion.VERSION_21: @@ -22,3 +26,11 @@ include 'my-database-standard' include 'my-database-uni' //include 'my-msg' include 'my-boot' + +develocity { + buildScan { + termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use" + termsOfUseAgree = "yes" + publishing.onlyIf { false } + } +}