2022-03-21 16:19:51 +01:00
|
|
|
plugins {
|
2022-06-14 01:03:27 +02:00
|
|
|
kotlin("jvm") version "1.7.0"
|
2022-03-21 16:19:51 +01:00
|
|
|
}
|
|
|
|
|
2022-03-21 22:06:24 +01:00
|
|
|
group = "app.revanced"
|
2022-03-21 16:19:51 +01:00
|
|
|
|
2022-06-14 01:03:27 +02:00
|
|
|
val githubUsername: String = project.findProperty("gpr.user") as? String ?: System.getenv("GITHUB_ACTOR")
|
|
|
|
val githubPassword: String = project.findProperty("gpr.key") as? String ?: System.getenv("GITHUB_TOKEN")
|
|
|
|
|
2022-03-21 16:19:51 +01:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
2022-06-14 01:03:27 +02:00
|
|
|
url = uri("https://maven.pkg.github.com/revanced/revanced-patcher")
|
2022-03-21 16:19:51 +01:00
|
|
|
credentials {
|
2022-06-14 01:03:27 +02:00
|
|
|
username = githubUsername
|
|
|
|
password = githubPassword
|
2022-03-21 16:19:51 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-06-14 01:11:04 +02:00
|
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.7.0")
|
2022-03-21 16:19:51 +01:00
|
|
|
|
2022-06-12 01:38:54 +02:00
|
|
|
implementation("app.revanced:revanced-patcher:1.1.0")
|
2022-06-14 01:03:27 +02:00
|
|
|
}
|