Skip to content
Snippets Groups Projects
Commit aacf62c2 authored by kr328's avatar kr328
Browse files

Chore: update dependencies

parent 3973fb27
No related branches found
No related tags found
No related merge requests found
@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")
......
......@@ -14,25 +14,27 @@ include(":hideapi")
dependencyResolutionManagement {
versionCatalogs {
create("deps") {
val version = "0.39.0"
val agp = "7.0.2"
val ksp = "1.5.30-1.0.0-beta09"
val kotlin = "1.5.30"
val golang = "1.0.3"
val coroutine = "1.5.0"
val coreKtx = "1.5.0"
val activity = "1.2.3"
val fragment = "1.3.4"
val appcompat = "1.3.0"
val coroutine = "1.5.2"
val coreKtx = "1.6.0"
val activity = "1.3.1"
val fragment = "1.3.6"
val appcompat = "1.3.1"
val coordinator = "1.1.0"
val recyclerview = "1.2.1"
val viewpager = "1.0.0"
val material = "1.3.0"
val appcenter = "4.2.0"
val material = "1.4.0"
val appcenter = "4.3.1"
val serialization = "1.2.1"
val kaidl = "1.14"
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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment