mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-23 18:15:30 +00:00
35 lines
707 B
Plaintext
35 lines
707 B
Plaintext
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)
|
|
}
|