revanced-patches/build.gradle.kts

33 lines
905 B
Plaintext
Raw Normal View History

2022-03-21 16:19:51 +01:00
plugins {
kotlin("jvm") version "1.7.0"
2022-03-21 16:19:51 +01:00
}
group = "app.revanced"
2022-03-21 16:19:51 +01:00
repositories {
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/revanced/revanced-patcher")
2022-03-21 16:19:51 +01:00
credentials {
username = project.findProperty("gpr.user") as? String ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.key") as? String ?: System.getenv("GITHUB_TOKEN")
2022-03-21 16:19:51 +01:00
}
}
}
dependencies {
implementation(kotlin("stdlib"))
2022-03-21 16:19:51 +01:00
2022-06-12 01:38:54 +02:00
implementation("app.revanced:revanced-patcher:1.1.0")
}
tasks {
// Dummy task to fix the Gradle semantic-release plugin.
// Remove this if you forked it to support building only.
// Tracking issue: https://github.com/KengoTODA/gradle-semantic-release-plugin/issues/435
register<DefaultTask>("publish") {
group = "publish"
description = "Dummy task"
2022-06-16 12:00:06 +02:00
dependsOn(build)
}
}