Skip to content

Commit

Permalink
chore: add build scan settings into build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed May 30, 2024
1 parent ce605d9 commit 42dfde2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test-java-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
env:
GRADLE_OPTS: "--scan-agreement=yes"

steps:
- name: Checkout repository
Expand Down
7 changes: 7 additions & 0 deletions bindings/java/java_code/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ repositories {
mavenCentral()
}

if (hasProperty('buildScan')) {
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
}

dependencies {
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
Expand Down

0 comments on commit 42dfde2

Please sign in to comment.