mirror of https://github.com/topjohnwu/magisk
35 lines
707 B
Kotlin
35 lines
707 B
Kotlin
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
register("MagiskPlugin") {
|
|
id = "MagiskPlugin"
|
|
implementationClass = "MagiskPlugin"
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.withType<KotlinCompile>().configureEach {
|
|
kotlinOptions {
|
|
languageVersion = "2.0"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
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)
|
|
}
|