-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of the Mezzanine Gradle Plugin and Kotlin Symbol Processor (KSP) to replace KAPT
- Loading branch information
Showing
61 changed files
with
576 additions
and
882 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
plugins { | ||
alias(libs.plugins.android.app) apply false | ||
alias(libs.plugins.compose.compiler) apply false | ||
alias(libs.plugins.kotlin.android) apply false | ||
alias(libs.plugins.kotlin.jvm) apply false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,8 @@ | ||
# Project-wide Gradle settings. | ||
# IDE (e.g. Android Studio) users: | ||
# Gradle settings configured through the IDE *will override* | ||
# any settings specified in this file. | ||
# For more details on how to configure your build environment visit | ||
# http://www.gradle.org/docs/current/userguide/build_environment.html | ||
# Specifies the JVM arguments used for the daemon process. | ||
# The setting is particularly useful for tweaking memory settings. | ||
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 | ||
# When configured, Gradle will run in incubating parallel mode. | ||
# This option should only be used with decoupled projects. For more details, visit | ||
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects | ||
# org.gradle.parallel=true | ||
# AndroidX package structure to make it clearer which packages are bundled with the | ||
# Android operating system, and which are packaged with your app's APK | ||
# https://developer.android.com/topic/libraries/support-library/androidx-rn | ||
org.gradle.parallel=true | ||
org.gradle.caching=true | ||
org.gradle.configuration-cache=true | ||
org.gradle.configuration-cache.parallel=true | ||
android.useAndroidX=true | ||
# Kotlin code style for this project: "official" or "obsolete": | ||
kotlin.code.style=official | ||
# Enables namespacing of each library's R class so that its R class includes only the | ||
# resources declared in the library itself and none from the library's dependencies, | ||
# thereby reducing the size of the R class for that library | ||
android.nonTransitiveRClass=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,38 @@ | ||
[versions] | ||
agp = "8.6.0" | ||
kotlin = "1.9.0" | ||
coreKtx = "1.12.0" | ||
kotlin = "2.1.0" | ||
junit = "4.13.2" | ||
appcompat = "1.7.0" | ||
material = "1.11.0" | ||
ksp = "2.1.0-1.0.29" | ||
kotlinpoet = "2.0.0" | ||
jvm = "17" | ||
activityCompose = "1.8.0" | ||
composeBom = "2024.04.01" | ||
|
||
[libraries] | ||
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" } | ||
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } | ||
material = { group = "com.google.android.material", name = "material", version.ref = "material" } | ||
autoservice = { group = "com.google.auto.service", name = "auto-service", version = "1.0-rc3" } | ||
javapoet = { group = "com.squareup", name = "javapoet", version = "1.11.1" } | ||
commons-text = { group = "org.apache.commons", name = "commons-text", version = "1.1" } | ||
kotlin = { group = "org.jetbrains.kotlin", name = "kotlin-stdlib-jdk8", version.ref = "kotlin" } | ||
kotlin-gradle = { group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin-api", version.ref = "kotlin" } | ||
ksp-api = { group = "com.google.devtools.ksp", name = "symbol-processing-api", version.ref = "ksp" } | ||
kotlinpoet = { group = "com.squareup", name = "kotlinpoet", version.ref = "kotlinpoet" } | ||
kotlinpoet-ksp = { group = "com.squareup", name = "kotlinpoet-ksp", version.ref = "kotlinpoet" } | ||
|
||
# Testing | ||
assertj-core = { group = "org.assertj", name = "assertj-core", version = "3.24.2" } | ||
junit = { group = "junit", name = "junit", version.ref = "junit" } | ||
mockito-core = { group = "org.mockito", name = "mockito-core", version = "3.11.2" } | ||
compiletesting = { group = "com.google.testing.compile", name = "compile-testing", version = "0.15" } | ||
guava = { group = "com.google.guava", name = "guava", version = "23.5-jre" } | ||
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activityCompose" } | ||
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "composeBom" } | ||
androidx-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" } | ||
androidx-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" } | ||
androidx-ui-test-manifest = { group = "androidx.compose.ui", name = "ui-test-manifest" } | ||
androidx-material3 = { group = "androidx.compose.material3", name = "material3" } | ||
|
||
[plugins] | ||
android-app = { id = "com.android.application", version.ref = "agp" } | ||
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" } | ||
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } | ||
ksp-plugin = { id = "com.google.devtools.ksp", version.ref = "ksp" } | ||
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } | ||
|
65 changes: 0 additions & 65 deletions
65
mezzanine-compiler/src/main/java/com/anthonycr/mezzanine/MezzanineProcessor.kt
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
mezzanine-compiler/src/main/java/com/anthonycr/mezzanine/extensions/FunctionExtensions.kt
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
mezzanine-compiler/src/main/java/com/anthonycr/mezzanine/filter/NonExistentFileFilter.kt
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
mezzanine-compiler/src/main/java/com/anthonycr/mezzanine/filter/SupportedElementFilter.kt
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
...mpiler/src/main/java/com/anthonycr/mezzanine/function/ElementToTypeAndFilePairFunction.kt
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
...e-compiler/src/main/java/com/anthonycr/mezzanine/function/FileToStringContentsFunction.kt
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
...iler/src/main/java/com/anthonycr/mezzanine/function/GenerateFileStreamTypeSpecFunction.kt
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
...piler/src/main/java/com/anthonycr/mezzanine/function/GenerateMezzanineTypeSpecFunction.kt
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
...ine-compiler/src/main/java/com/anthonycr/mezzanine/function/TypeSpecToJavaFileFunction.kt
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
mezzanine-compiler/src/main/java/com/anthonycr/mezzanine/options/Options.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.