build: move composite build to separate directory and add desugar Gradle plugin

This commit is contained in:
Akash Yadav
2024-03-02 12:55:59 +05:30
parent cee7d6a024
commit 7705c06dcc
3132 changed files with 2622 additions and 30 deletions
+3 -1
View File
@@ -22,6 +22,7 @@ maven-publish-plugin = "0.27.0"
# Dependencies in composite build
composite-appintro = { module = "com.itsaky.androidide.build:appintro" }
composite-desugaringCore = { module = "com.itsaky.androidide.build:desugaring-core" }
composite-fuzzysearch = { module ="com.itsaky.androidide.build:fuzzysearch" }
composite-googleJavaFormat = { module ="com.itsaky.androidide.build:google-java-format" }
composite-javaCompiler = { module ="com.itsaky.androidide.build:java-compiler" }
@@ -85,7 +86,7 @@ androidx-animated_vectors = { module = "androidx.vectordrawable:vectordrawable-a
androidx-core = { module = "androidx.core:core", version = "1.12.0" }
androidx-core-ktx = { module = "androidx.core:core-ktx", version = "1.12.0" }
androidx-fragment_ktx = { module = "androidx.fragment:fragment-ktx", version = "1.6.2" }
androidx-lib_desugaring = { module = "com.android.tools:desugar_jdk_libs", version = "2.0.4" }
androidx-libDesugaring = { module = "com.android.tools:desugar_jdk_libs", version = "2.0.4" }
androidx-splashscreen = { module = "androidx.core:core-splashscreen", version = "1.0.1" }
androidx-transition = { module = "androidx.transition:transition-ktx", version = "1.4.1" }
androidx-nav-fragment = { module = "androidx.navigation:navigation-fragment-ktx", version.ref = "androidx-navigation" }
@@ -151,6 +152,7 @@ tooling-gradleApi = { module = "com.itsaky.androidide.gradle:gradle-tooling-api"
tooling-slf4j = { module = "org.slf4j:slf4j-api", version = "2.0.12" }
# Classpaths
android-gradle-plugin = { module = "com.android.tools.build:gradle", version.ref = "agp" }
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
nav-safe-args-gradle-plugin = { module = "androidx.navigation:navigation-safe-args-gradle-plugin", version.ref = "androidx-navigation" }
maven-publish = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "maven-publish-plugin" }