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-03-18 04:04:35 +08:00
|
|
|
implementation(kotlin("gradle-plugin", "1.6.21"))
|
2022-05-28 04:46:58 -07:00
|
|
|
implementation("com.android.tools.build:gradle:7.2.1")
|
2022-05-22 20:11:24 -07:00
|
|
|
implementation("androidx.navigation:navigation-safe-args-gradle-plugin:2.5.0-rc01")
|
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
|
|
|
}
|