Skip to content

Commit c735666

Browse files
authored
Update Develocity plugin to 3.17.5 (#389)
* Update Develocity plugin to 3.17.5 * Fix deprecations in github action * add setup java 8
1 parent 7d8324a commit c735666

4 files changed

Lines changed: 19 additions & 18 deletions

File tree

.github/workflows/gradle-build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ jobs:
77
steps:
88
- uses: actions/checkout@v4
99
- uses: gradle/actions/wrapper-validation@v3
10-
- uses: gradle/gradle-build-action@v3
11-
name: Check Fladle
10+
- uses: actions/setup-java@v4
1211
with:
13-
job-id: jdk8
14-
arguments: assembleDebug assembleDebugAndroidTest printYml check :fladle-plugin:check
15-
- uses: gradle/gradle-build-action@v3
16-
name: Publish Snapshot
12+
distribution: 'temurin'
13+
java-version: '8'
14+
- uses: gradle/actions/setup-gradle@v3
15+
name: Setup Gradle
16+
- name: Check Fladle
17+
run: ./gradlew assembleDebug assembleDebugAndroidTest printYml check :fladle-plugin:check
18+
- name: Publish Snapshot
1719
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }}
18-
with:
19-
job-id: jdk8
20-
arguments: :fladle-plugin:publishAllPublicationsToMavenCentralRepository -Pfladle.releaseMode -PmavenCentralUsername=${{ secrets.SONATYPE_USERNAME }} -PmavenCentralPassword=${{ secrets.SONATYPE_PASSWORD }}
20+
run: ./gradlew :fladle-plugin:publishAllPublicationsToMavenCentralRepository -Pfladle.releaseMode -PmavenCentralUsername=${{ secrets.SONATYPE_USERNAME }} -PmavenCentralPassword=${{ secrets.SONATYPE_PASSWORD }}

build.gradle

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,8 @@ fladle {
2929
serviceAccountCredentials = project.layout.projectDirectory.file("sample/flank-gradle-5cf02dc90531.json")
3030
}
3131

32-
buildScan {
33-
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
34-
termsOfServiceAgree = 'yes'
35-
publishAlways()
36-
}
37-
3832
tasks.named('wrapper').configure {
39-
gradleVersion = '7.4'
33+
gradleVersion = '7.6.3'
4034
}
4135

4236
def isNonStable = { String version ->

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ junit = { group = "junit", name = "junit", version.ref = "junit-version" }
5353

5454
kotlin-stdlib-jdk7 = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib-jdk7", version.ref = "kotlin" }
5555

56-
gradle-enterprise = { module = "com.gradle:gradle-enterprise-gradle-plugin", version = "3.17.1" }
56+
gradle-enterprise = { module = "com.gradle:develocity-gradle-plugin", version = "3.17.5" }
5757

5858
truth = "com.google.truth:truth:1.3.0"

settings.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pluginManagement {
77
}
88

99
plugins {
10-
id "com.gradle.enterprise" version "3.16.1"
10+
id "com.gradle.develocity" version "3.17.5"
1111
}
1212

1313
include ':android-library-no-tests'
@@ -23,3 +23,10 @@ dependencyResolutionManagement {
2323
google()
2424
}
2525
}
26+
27+
develocity {
28+
buildScan {
29+
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
30+
termsOfUseAgree = "yes"
31+
}
32+
}

0 commit comments

Comments
 (0)