From 8abc5e083d55836afbd1bf06cd43481018f93e29 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 18 Dec 2021 01:59:21 +0000 Subject: [PATCH 1/2] chore(deps): update dependency gradle to v7.3.2 --- gradle/wrapper/gradle-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e750102..d2880ba 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists From c6ca712b0726376a130c11e17b1d823e201997b0 Mon Sep 17 00:00:00 2001 From: Peter Trifaniov Date: Sat, 18 Dec 2021 16:11:00 +0300 Subject: [PATCH 2/2] chore: gradle 7.3.2 * Add distributionSha256Sum * Add centralized repositories declaration in settings.gradle.kts * Remove versions plugin * Cleanup build_and_test.yml --- .github/workflows/build_and_test.yml | 4 ---- build.gradle.kts | 5 ----- gradle/wrapper/gradle-wrapper.properties | 1 + settings.gradle.kts | 8 +++++++- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index d9f228b..7985da6 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -12,10 +12,7 @@ jobs: runs-on: ubuntu-20.04 steps: - # actions/checkout v1.* is needed for correct codecov upload, see https://github.com/actions/checkout/issues/237 for details - uses: actions/checkout@v2 - # ensure that gradle wrapper files in repository are valid by checking checksums - - uses: gradle/wrapper-validation-action@v1 - name: Set up JDK 11 uses: actions/setup-java@v2 with: @@ -33,7 +30,6 @@ jobs: name: gradle-test-report path: '**/build/reports/' - name: Code coverage report - # disabled until repo is private uses: codecov/codecov-action@v2 with: flags: unittests diff --git a/build.gradle.kts b/build.gradle.kts index 694552e..2548e9e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,17 +5,12 @@ import org.jetbrains.kotlin.gradle.targets.jvm.tasks.KotlinJvmTest plugins { alias(libs.plugins.kotlin.multiplatform) jacoco - id("com.github.ben-manes.versions") version "0.39.0" } configureVersioning() group = "io.github.petertrr" description = "A multiplatform Kotlin library for calculating text differences" -repositories { - mavenCentral() -} - kotlin { explicitApi() diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index d2880ba..ad382b7 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionSha256Sum=23b89f8eac363f5f4b8336e0530c7295c55b728a9caa5268fdd4a532610d5392 distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/settings.gradle.kts b/settings.gradle.kts index efe01e5..dc55e83 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,2 +1,8 @@ rootProject.name = "kotlin-multiplatform-diff" -enableFeaturePreview("VERSION_CATALOGS") \ No newline at end of file +enableFeaturePreview("VERSION_CATALOGS") + +dependencyResolutionManagement { + repositories { + mavenCentral() + } +}