|
|
@@ -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()
|