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 {
|
2022-06-11 03:41:02 -07:00
|
|
|
implementation(kotlin("gradle-plugin", "1.7.0"))
|
2022-08-05 15:47:46 -07:00
|
|
|
implementation("com.android.tools.build:gradle:7.2.2")
|
|
|
|
implementation("androidx.navigation:navigation-safe-args-gradle-plugin:2.5.1")
|
2021-11-24 18:08:29 +08:00
|
|
|
implementation("io.michaelrocks:paranoid-gradle-plugin:0.3.7")
|
2022-03-18 04:04:35 +08:00
|
|
|
implementation("org.eclipse.jgit:org.eclipse.jgit:6.1.0.202203080745-r")
|
2020-12-24 04:46:31 -08:00
|
|
|
}
|