2022-01-27 01:46:00 -08:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
2020-07-04 06:53:31 -07:00
|
|
|
plugins {
|
|
|
|
`kotlin-dsl`
|
|
|
|
}
|
|
|
|
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
|
|
|
|
2022-01-27 01:46:00 -08:00
|
|
|
tasks.withType<KotlinCompile> {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "11"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-24 04:46:31 -08:00
|
|
|
dependencies {
|
2021-12-27 12:17:01 -08:00
|
|
|
implementation(kotlin("gradle-plugin", "1.6.10"))
|
2022-02-28 20:14:58 -08:00
|
|
|
implementation("com.android.tools.build:gradle:7.1.2")
|
2022-01-27 01:46:00 -08:00
|
|
|
implementation("androidx.navigation:navigation-safe-args-gradle-plugin:2.5.0-alpha01")
|
2021-11-24 18:08:29 +08:00
|
|
|
implementation("io.michaelrocks:paranoid-gradle-plugin:0.3.7")
|
2021-07-18 13:11:20 +08:00
|
|
|
implementation("org.eclipse.jgit:org.eclipse.jgit:5.12.0.202106070339-r")
|
2020-12-24 04:46:31 -08:00
|
|
|
}
|