mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
build: move external dependency sources to composite builds
This commit is contained in:
Generated
+18
@@ -112,12 +112,30 @@
|
||||
<module name="AndroidIDE.ksp-processor.test" target="11" />
|
||||
<module name="AndroidIDE.lsp.testing" target="17" />
|
||||
<module name="AndroidIDE.sdk-info" target="11" />
|
||||
<module name="AndroidIDE.subprojects.appintro" target="17" />
|
||||
<module name="AndroidIDE.subprojects.classfile" target="11" />
|
||||
<module name="AndroidIDE.subprojects.classfile.main" target="11" />
|
||||
<module name="AndroidIDE.subprojects.classfile.test" target="11" />
|
||||
<module name="AndroidIDE.subprojects.fuzzysearch" target="11" />
|
||||
<module name="AndroidIDE.subprojects.fuzzysearch.main" target="11" />
|
||||
<module name="AndroidIDE.subprojects.fuzzysearch.test" target="11" />
|
||||
<module name="AndroidIDE.subprojects.google-java-format" target="17" />
|
||||
<module name="AndroidIDE.subprojects.google-java-format.test" target="11" />
|
||||
<module name="AndroidIDE.subprojects.java-compiler-utils.main" target="8" />
|
||||
<module name="AndroidIDE.subprojects.java-compiler-utils.test" target="8" />
|
||||
<module name="AndroidIDE.subprojects.javac" target="11" />
|
||||
<module name="AndroidIDE.subprojects.javac.main" target="11" />
|
||||
<module name="AndroidIDE.subprojects.javac.test" target="11" />
|
||||
<module name="AndroidIDE.subprojects.javapoet" target="17" />
|
||||
<module name="AndroidIDE.subprojects.javapoet.main" target="17" />
|
||||
<module name="AndroidIDE.subprojects.javapoet.test" target="17" />
|
||||
<module name="AndroidIDE.subprojects.jdk-jdeps" target="11" />
|
||||
<module name="AndroidIDE.subprojects.jdk-jdeps.main" target="11" />
|
||||
<module name="AndroidIDE.subprojects.jdk-jdeps.test" target="11" />
|
||||
<module name="AndroidIDE.subprojects.jdt" target="11" />
|
||||
<module name="AndroidIDE.subprojects.jdt.main" target="11" />
|
||||
<module name="AndroidIDE.subprojects.jdt.test" target="11" />
|
||||
<module name="AndroidIDE.subprojects.layoutlib-api" target="17" />
|
||||
<module name="AndroidIDE.subprojects.tooling-api-config" target="11" />
|
||||
<module name="AndroidIDE.subprojects.tooling-api-config.main" target="11" />
|
||||
<module name="AndroidIDE.subprojects.tooling-api-config.test" target="11" />
|
||||
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
<component name="InspectionProjectProfileManager">
|
||||
<profile version="1.0">
|
||||
<option name="myName" value="Project Default" />
|
||||
<inspection_tool class="AndroidLintUnsafeImplicitIntentLaunch" enabled="false" level="ERROR" enabled_by_default="false" />
|
||||
<inspection_tool class="SpellCheckingInspection" enabled="true" level="INFORMATION" enabled_by_default="true">
|
||||
<option name="processCode" value="true" />
|
||||
<option name="processLiterals" value="true" />
|
||||
|
||||
@@ -89,6 +89,10 @@ dependencies {
|
||||
implementation(libs.androidx.core.ktx)
|
||||
implementation(libs.common.kotlin)
|
||||
|
||||
// Dependencies in composite build
|
||||
implementation(libs.composite.appintro)
|
||||
implementation(libs.composite.javapoet)
|
||||
|
||||
// Local projects here
|
||||
implementation(projects.actions)
|
||||
implementation(projects.buildInfo)
|
||||
@@ -104,9 +108,7 @@ dependencies {
|
||||
implementation(projects.gradlePluginConfig)
|
||||
implementation(projects.idestats)
|
||||
implementation(projects.subprojects.aaptcompiler)
|
||||
implementation(projects.subprojects.appintro)
|
||||
implementation(projects.subprojects.javacServices)
|
||||
implementation(projects.subprojects.javapoet)
|
||||
implementation(projects.subprojects.xmlUtils)
|
||||
implementation(projects.subprojects.projects)
|
||||
implementation(projects.subprojects.toolingApi)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
alias(libs.plugins.android.library)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
id("com.itsaky.androidide.build")
|
||||
}
|
||||
|
||||
android {
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
import com.android.build.gradle.BaseExtension
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.android.application) apply false
|
||||
alias(libs.plugins.android.library) apply false
|
||||
alias(libs.plugins.kotlin.android) apply false
|
||||
}
|
||||
|
||||
subprojects {
|
||||
plugins.withId("com.android.library") {
|
||||
extensions.getByType(BaseExtension::class.java).apply {
|
||||
compileSdkVersion(34)
|
||||
|
||||
defaultConfig {
|
||||
minSdk = 26
|
||||
//noinspection ExpiredTargetSdkVersion
|
||||
targetSdk = 28
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(KotlinCompile::class.java) {
|
||||
kotlinOptions.jvmTarget = "11"
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user