2024-07-12 15:27:04 -07:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
2020-07-04 06:53:31 -07:00
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
|
|
|
}
|
2024-07-11 23:28:01 -07:00
|
|
|
|
2020-07-04 06:53:31 -07:00
|
|
|
repositories {
|
2021-09-08 00:45:15 +08:00
|
|
|
google()
|
2021-04-17 17:32:07 +08:00
|
|
|
mavenCentral()
|
2020-07-04 06:53:31 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
gradlePlugin {
|
|
|
|
plugins {
|
|
|
|
register("MagiskPlugin") {
|
|
|
|
id = "MagiskPlugin"
|
|
|
|
implementationClass = "MagiskPlugin"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-12-24 04:46:31 -08:00
|
|
|
|
2024-07-12 15:27:04 -07:00
|
|
|
tasks.withType<KotlinCompile>().configureEach {
|
|
|
|
kotlinOptions {
|
|
|
|
languageVersion = "2.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-24 04:46:31 -08:00
|
|
|
dependencies {
|
2024-08-18 13:12:23 -07:00
|
|
|
implementation(kotlin("gradle-plugin", libs.versions.kotlin.get()))
|
|
|
|
implementation(libs.android.gradle.plugin)
|
|
|
|
implementation(libs.ksp.plugin)
|
|
|
|
implementation(libs.navigation.safe.args.plugin)
|
|
|
|
implementation(libs.lsparanoid.plugin)
|
|
|
|
implementation(libs.jgit)
|
2020-12-24 04:46:31 -08:00
|
|
|
}
|