Chore: update dependencies

This commit is contained in:
kr328
2021-09-12 11:04:26 +08:00
parent 3973fb2706
commit aacf62c259
2 changed files with 26 additions and 15 deletions

View File

@@ -1,17 +1,20 @@
@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()
mavenLocal()
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)
@@ -21,9 +24,21 @@ buildscript {
}
allprojects {
apply {
plugin(VersionsPlugin::class)
}
tasks.withType(DependencyUpdatesTask::class) {
val rejectPattern = Regex("(beta|alpha)", RegexOption.IGNORE_CASE)
rejectVersionIf {
candidate.version.contains(rejectPattern)
}
}
repositories {
google()
mavenCentral()
google()
maven("https://maven.kr328.app/releases")
}
}
@@ -69,12 +84,6 @@ subprojects {
}
}
externalNativeBuild {
cmake {
version = "3.18.1"
}
}
if (isApp) {
packagingOptions {
excludes.add("DebugProbesKt.bin")