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 e750102..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 -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip +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() + } +}