File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ fun PluginContainer.applyBaseConfig(project: Project) {
8181 project.extensions
8282 .getByType<LibraryExtension >()
8383 .apply {
84- baselibraryConfig ()
84+ baseLibraryConfig ()
8585 }
8686 }
8787 }
@@ -91,14 +91,20 @@ fun PluginContainer.applyBaseConfig(project: Project) {
9191/* *
9292 * Apply base library configurations to the subprojects that include the plugin [LibraryModulePlugin].
9393 */
94- fun com.android.build.gradle.BaseExtension.baselibraryConfig () {
94+ fun com.android.build.gradle.BaseExtension.baseLibraryConfig () {
9595
9696 compileSdkVersion(App .COMPILE_SDK )
9797
9898 defaultConfig {
9999 minSdk = App .MIN_SDK
100100 targetSdk = App .TARGET_SDK
101101 testInstrumentationRunner = App .TEST_INSTRUMENTATION_RUNNER
102+
103+ javaCompileOptions {
104+ annotationProcessorOptions {
105+ arguments + = mapOf (" module" to " ${App .ID } -$name " )
106+ }
107+ }
102108 }
103109
104110 compileOptions.apply {
You can’t perform that action at this time.
0 commit comments