mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
chore: bump patcher
This commit is contained in:
parent
cee2240cdc
commit
bf54d38c91
@ -11,8 +11,8 @@ accompanist = "0.30.1"
|
|||||||
serialization = "1.6.0"
|
serialization = "1.6.0"
|
||||||
collection = "0.3.5"
|
collection = "0.3.5"
|
||||||
room-version = "2.5.2"
|
room-version = "2.5.2"
|
||||||
revanced-patcher = "16.0.1"
|
revanced-patcher = "17.0.0"
|
||||||
revanced-library = "1.1.1"
|
revanced-library = "1.1.4"
|
||||||
koin-version = "3.4.3"
|
koin-version = "3.4.3"
|
||||||
koin-version-compose = "3.4.6"
|
koin-version-compose = "3.4.6"
|
||||||
reimagined-navigation = "1.5.0"
|
reimagined-navigation = "1.5.0"
|
||||||
|
@ -1,59 +1,19 @@
|
|||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
// TODO: remove this once https://github.com/gradle/gradle/issues/23572 is fixed
|
|
||||||
val (gprUser, gprKey) = if (File(".gradle/gradle.properties").exists()) {
|
|
||||||
File(".gradle/gradle.properties").inputStream().use {
|
|
||||||
java.util.Properties().apply { load(it) }.let {
|
|
||||||
it.getProperty("gpr.user") to it.getProperty("gpr.key")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
null to null
|
|
||||||
}
|
|
||||||
|
|
||||||
fun RepositoryHandler.githubPackages(name: String) = maven {
|
|
||||||
url = uri(name)
|
|
||||||
credentials {
|
|
||||||
username = gprUser ?: providers.gradleProperty("gpr.user").orNull ?: System.getenv("GITHUB_ACTOR")
|
|
||||||
password = gprKey ?: providers.gradleProperty("gpr.key").orNull ?: System.getenv("GITHUB_TOKEN")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven("https://jitpack.io")
|
maven("https://jitpack.io")
|
||||||
githubPackages("https://maven.pkg.github.com/revanced/revanced-patcher")
|
mavenLocal()
|
||||||
githubPackages("https://maven.pkg.github.com/revanced/revanced-library")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencyResolutionManagement {
|
dependencyResolutionManagement {
|
||||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||||
repositories {
|
repositories {
|
||||||
// TODO: remove this once https://github.com/gradle/gradle/issues/23572 is fixed
|
|
||||||
val (gprUser, gprKey) = if (File(".gradle/gradle.properties").exists()) {
|
|
||||||
File(".gradle/gradle.properties").inputStream().use {
|
|
||||||
java.util.Properties().apply { load(it) }.let {
|
|
||||||
it.getProperty("gpr.user") to it.getProperty("gpr.key")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
null to null
|
|
||||||
}
|
|
||||||
|
|
||||||
fun RepositoryHandler.githubPackages(name: String) = maven {
|
|
||||||
url = uri(name)
|
|
||||||
credentials {
|
|
||||||
username = gprUser ?: providers.gradleProperty("gpr.user").orNull ?: System.getenv("GITHUB_ACTOR")
|
|
||||||
password = gprKey ?: providers.gradleProperty("gpr.key").orNull ?: System.getenv("GITHUB_TOKEN")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
maven("https://jitpack.io")
|
maven("https://jitpack.io")
|
||||||
githubPackages("https://maven.pkg.github.com/revanced/revanced-patcher")
|
mavenLocal()
|
||||||
githubPackages("https://maven.pkg.github.com/revanced/revanced-library")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rootProject.name = "ReVanced Manager"
|
rootProject.name = "ReVanced Manager"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user