Skip to content

Commit

Permalink
Enable Gradle build scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Ribesg committed May 29, 2024
1 parent 5738536 commit 24c8744
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- name: Test
shell: bash
run: ./gradlew check --no-daemon
run: ./gradlew check --no-daemon --scan

- name: Upload reports
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Build App
shell: bash
run: ./gradlew packageReleaseBundle --no-daemon
run: ./gradlew packageReleaseBundle --no-daemon --scan

- if: ${{ inputs.isRelease }}
name: Setup upload-keystore.jks
Expand All @@ -67,7 +67,7 @@ jobs:
- if: ${{ inputs.isRelease }}
name: Sign App
shell: bash
run: ./gradlew signReleaseBundle --no-daemon
run: ./gradlew signReleaseBundle --no-daemon --scan

- if: ${{ inputs.isRelease }}
name: Publish App
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:

- name: Build App
shell: bash
run: ./gradlew packageReleaseUberJarForCurrentOS --no-daemon
run: ./gradlew packageReleaseUberJarForCurrentOS --no-daemon --scan

- if: ${{ inputs.isRelease }}
name: Upload Jar
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:

- name: Apply Gradle Build version to XCode project
shell: bash
run: ./gradlew setXcodeVersion --no-daemon
run: ./gradlew setXcodeVersion --no-daemon --scan

- if: ${{ ! inputs.isRelease }}
name: Build App
Expand Down
10 changes: 9 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,13 @@ pluginManagement {
}

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0"
id("com.gradle.develocity") version "3.17.4"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

develocity {
buildScan {
termsOfUseUrl.set("https://gradle.com/help/legal-terms-of-use")
termsOfUseAgree.set("yes")
}
}
2 changes: 1 addition & 1 deletion xcode/CinematicJourney.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "cd \"$SRCROOT/..\"\n./gradlew embedAndSignAppleFrameworkForXcode\n";
shellScript = "cd \"$SRCROOT/..\"\n./gradlew embedAndSignAppleFrameworkForXcode --scan\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down

0 comments on commit 24c8744

Please sign in to comment.