mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
* initial migration to gradle kotlin DSL * initial migration to version catalog * finalize some last testing task configuration * delete commented code * update detekt and test configuration * implement gradle plugin * gradle: - Removing unused properties in libs.versions.toml - Enabling typesafe project accessors - Change allUnitTest task from GradleBuild to DefaultTask * fix always looking for signingrelease.properties * fix logic for properties * improve condition * signing config release * update configuration based on new changes --------- Co-authored-by: Jimly Asshiddiqy <jimly.asshiddiqy@accenture.com>
48 lines
No EOL
1.2 KiB
Text
48 lines
No EOL
1.2 KiB
Text
@file:Suppress("UnstableApiUsage")
|
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
pluginManagement {
|
|
includeBuild("build-logic")
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google {
|
|
content {
|
|
includeGroupByRegex("com\\.android.*")
|
|
includeGroupByRegex("com\\.google.*")
|
|
includeGroupByRegex("androidx.*")
|
|
}
|
|
}
|
|
mavenCentral()
|
|
maven("https://jitpack.io")
|
|
mavenLocal()
|
|
}
|
|
resolutionStrategy.eachPlugin {
|
|
if (requested.id.id == "realm-android") useModule(
|
|
"io.realm:realm-gradle-plugin:${requested.version}"
|
|
)
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositories {
|
|
google {
|
|
content {
|
|
includeGroupByRegex("com\\.android.*")
|
|
includeGroupByRegex("com\\.google.*")
|
|
includeGroupByRegex("androidx.*")
|
|
}
|
|
}
|
|
mavenCentral()
|
|
maven("https://jitpack.io")
|
|
maven("https://plugins.gradle.org/m2/")
|
|
mavenLocal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "0.6.0"
|
|
}
|
|
|
|
rootProject.name = "habitica-android"
|
|
include(":Habitica", ":wearos", ":common", ":shared") |