mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
5e83554404
This change is required because the bytecode transformations performed by AndroidIDE's Desugar Plugin does not work on androidTest classes for some reason. As a result, we use a patched version of logback-core and replace the dependency of logback-classic to use our own.
68 lines
1.5 KiB
Kotlin
68 lines
1.5 KiB
Kotlin
/*
|
|
* This file is part of AndroidIDE.
|
|
*
|
|
* AndroidIDE is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* AndroidIDE is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
@file:Suppress("UnstableApiUsage")
|
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
pluginManagement {
|
|
includeBuild("../build-logic")
|
|
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
|
|
versionCatalogs {
|
|
create("libs") {
|
|
from(files("../../gradle/libs.versions.toml"))
|
|
}
|
|
}
|
|
}
|
|
|
|
include(
|
|
":appintro",
|
|
":fuzzysearch",
|
|
":google-java-format",
|
|
":javac",
|
|
":javapoet",
|
|
":jaxp",
|
|
":java-compiler",
|
|
":jdk-compiler",
|
|
":jdk-jdeps",
|
|
":jdt",
|
|
":layoutlib-api",
|
|
":logback-core",
|
|
)
|
|
|
|
rootProject.name = "build-deps"
|
|
|
|
gradle.rootProject {
|
|
|
|
// required for setting SDK location for android modules
|
|
project.file("../../local.properties")
|
|
.takeIf { it.exists() }
|
|
?.copyTo(project.file("local.properties"), overwrite = true)
|
|
} |