mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-07-03 14:08:39 +02:00
Move plugins to its own section in version catalog
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
plugins {
|
||||
id("com.android.application")
|
||||
kotlin("plugin.parcelize")
|
||||
id("com.android.legacy-kapt")
|
||||
id("androidx.navigation.safeargs.kotlin")
|
||||
alias(libs.plugins.legacy.kapt)
|
||||
alias(libs.plugins.navigation.safeargs)
|
||||
}
|
||||
|
||||
setupMainApk()
|
||||
|
||||
@@ -19,10 +19,5 @@ gradlePlugin {
|
||||
dependencies {
|
||||
implementation(kotlin("gradle-plugin", libs.versions.kotlin.get()))
|
||||
implementation(libs.android.gradle.plugin)
|
||||
implementation(libs.android.kapt.plugin)
|
||||
implementation(libs.ksp.plugin)
|
||||
implementation(libs.navigation.safe.args.plugin)
|
||||
implementation(libs.lsparanoid.plugin)
|
||||
implementation(libs.moshi.plugin)
|
||||
implementation(libs.jgit)
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
kotlin("plugin.parcelize")
|
||||
id("dev.zacsweers.moshix")
|
||||
id("com.google.devtools.ksp")
|
||||
alias(libs.plugins.moshix)
|
||||
alias(libs.plugins.ksp)
|
||||
}
|
||||
|
||||
setupCoreLib()
|
||||
|
||||
@@ -59,10 +59,10 @@ rikka-insets = { module = "dev.rikka.rikkax.insets:insets", version.ref = "rikka
|
||||
|
||||
# Build plugins
|
||||
android-gradle-plugin = { module = "com.android.tools.build:gradle", version.ref = "android" }
|
||||
android-kapt-plugin = { module = "com.android.legacy-kapt:com.android.legacy-kapt.gradle.plugin", version.ref = "android" }
|
||||
ksp-plugin = { module = "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin", version.ref = "ksp" }
|
||||
navigation-safe-args-plugin = { module = "androidx.navigation:navigation-safe-args-gradle-plugin", version.ref = "navigation" }
|
||||
lsparanoid-plugin = { module = "org.lsposed.lsparanoid:gradle-plugin", version = "0.6.0" }
|
||||
moshi-plugin = { module = "dev.zacsweers.moshix:dev.zacsweers.moshix.gradle.plugin", version = "0.34.4" }
|
||||
|
||||
[plugins]
|
||||
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|
||||
lsparanoid = { id = "org.lsposed.lsparanoid", version = "0.6.0" }
|
||||
moshix = { id = "dev.zacsweers.moshix", version = "0.34.4" }
|
||||
legacy-kapt = { id = "com.android.legacy-kapt", version.ref = "android" }
|
||||
navigation-safeargs = { id = "androidx.navigation.safeargs.kotlin", version.ref = "navigation" }
|
||||
|
||||
@@ -7,5 +7,13 @@ dependencyResolutionManagement {
|
||||
maven("https://jitpack.io")
|
||||
}
|
||||
}
|
||||
|
||||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
google()
|
||||
}
|
||||
}
|
||||
|
||||
rootProject.name = "Magisk"
|
||||
include(":apk", ":core", ":shared", ":stub", ":test")
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
plugins {
|
||||
id("com.android.application")
|
||||
id("org.lsposed.lsparanoid")
|
||||
alias(libs.plugins.lsparanoid)
|
||||
}
|
||||
|
||||
lsparanoid {
|
||||
|
||||
Reference in New Issue
Block a user