Chore: remove dependencies update detect plugin

This commit is contained in:
kr328 2021-09-13 22:41:19 +08:00
parent 8b91b2eeb1
commit db2a7feb34
2 changed files with 0 additions and 18 deletions

View File

@ -1,20 +1,16 @@
@file:Suppress("UNUSED_VARIABLE") @file:Suppress("UNUSED_VARIABLE")
import com.android.build.gradle.BaseExtension 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.net.URL
import java.util.* import java.util.*
buildscript { buildscript {
repositories { repositories {
gradlePluginPortal()
mavenCentral() mavenCentral()
google() google()
maven("https://maven.kr328.app/releases") maven("https://maven.kr328.app/releases")
} }
dependencies { dependencies {
classpath(deps.build.update)
classpath(deps.build.android) classpath(deps.build.android)
classpath(deps.build.kotlin.common) classpath(deps.build.kotlin.common)
classpath(deps.build.kotlin.serialization) classpath(deps.build.kotlin.serialization)
@ -24,18 +20,6 @@ buildscript {
} }
allprojects { allprojects {
apply {
plugin(VersionsPlugin::class)
}
tasks.withType(DependencyUpdatesTask::class) {
val rejectPattern = Regex("(beta|alpha)", RegexOption.IGNORE_CASE)
rejectVersionIf {
candidate.version.contains(rejectPattern)
}
}
repositories { repositories {
mavenCentral() mavenCentral()
google() google()

View File

@ -14,7 +14,6 @@ include(":hideapi")
dependencyResolutionManagement { dependencyResolutionManagement {
versionCatalogs { versionCatalogs {
create("deps") { create("deps") {
val version = "0.39.0"
val agp = "7.0.2" val agp = "7.0.2"
val ksp = "1.5.30-1.0.0" val ksp = "1.5.30-1.0.0"
val kotlin = "1.5.30" val kotlin = "1.5.30"
@ -34,7 +33,6 @@ dependencyResolutionManagement {
val room = "2.3.0" val room = "2.3.0"
val multiprocess = "1.0.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-android").to("com.android.tools.build:gradle:$agp")
alias("build-kotlin-common").to("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin") alias("build-kotlin-common").to("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin")
alias("build-kotlin-serialization").to("org.jetbrains.kotlin:kotlin-serialization:$kotlin") alias("build-kotlin-serialization").to("org.jetbrains.kotlin:kotlin-serialization:$kotlin")