From db2a7feb34b6cc5545e991bdf65712ba09134ae7 Mon Sep 17 00:00:00 2001 From: kr328 Date: Mon, 13 Sep 2021 22:41:19 +0800 Subject: [PATCH] Chore: remove dependencies update detect plugin --- build.gradle.kts | 16 ---------------- settings.gradle.kts | 2 -- 2 files changed, 18 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index f749b9b5..d234cb4e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,20 +1,16 @@ @file:Suppress("UNUSED_VARIABLE") import com.android.build.gradle.BaseExtension -import com.github.benmanes.gradle.versions.VersionsPlugin -import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask import java.net.URL import java.util.* buildscript { repositories { - gradlePluginPortal() mavenCentral() google() maven("https://maven.kr328.app/releases") } dependencies { - classpath(deps.build.update) classpath(deps.build.android) classpath(deps.build.kotlin.common) classpath(deps.build.kotlin.serialization) @@ -24,18 +20,6 @@ buildscript { } allprojects { - apply { - plugin(VersionsPlugin::class) - } - - tasks.withType(DependencyUpdatesTask::class) { - val rejectPattern = Regex("(beta|alpha)", RegexOption.IGNORE_CASE) - - rejectVersionIf { - candidate.version.contains(rejectPattern) - } - } - repositories { mavenCentral() google() diff --git a/settings.gradle.kts b/settings.gradle.kts index ed2418ff..cac2068c 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -14,7 +14,6 @@ include(":hideapi") dependencyResolutionManagement { versionCatalogs { create("deps") { - val version = "0.39.0" val agp = "7.0.2" val ksp = "1.5.30-1.0.0" val kotlin = "1.5.30" @@ -34,7 +33,6 @@ dependencyResolutionManagement { val room = "2.3.0" val multiprocess = "1.0.0" - alias("build-update").to("com.github.ben-manes:gradle-versions-plugin:$version") alias("build-android").to("com.android.tools.build:gradle:$agp") alias("build-kotlin-common").to("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin") alias("build-kotlin-serialization").to("org.jetbrains.kotlin:kotlin-serialization:$kotlin")