File tree Expand file tree Collapse file tree 4 files changed +6
-1
lines changed
Expand file tree Collapse file tree 4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id(" com.android.library" )
33 commonPlugins.forEach { id(it) }
4+ id(" com.github.dcendents.android-maven" )
45}
56
7+ group = " com.github.enginebai"
8+
69configAndroid()
710importCommonDependencies()
811
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ buildscript {
1010 classpath(Dependencies .androidGradlePlugin)
1111 classpath(Dependencies .Kotlin .gradlePlugin)
1212 classpath(Dependencies .Navigation .safeArgs)
13+ classpath(Dependencies .androidMaven)
1314 // NOTE: Do not place your application dependencies here; they belong
1415 // in the individual module build.gradle files
1516 }
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ object Dependencies {
88
99 const val androidGradlePlugin = " com.android.tools.build:gradle:${Versions .androidGradle} "
1010 const val material = " com.google.android.material:material:${Versions .material} "
11+ const val androidMaven = " com.github.dcendents:android-maven-gradle-plugin:${Versions .androidMaven} "
1112
1213 const val rxJava = " io.reactivex.rxjava2:rxjava:${Versions .rxJava} "
1314 const val rxAndroid = " io.reactivex.rxjava2:rxandroid:${Versions .rxAndroid} "
@@ -88,7 +89,6 @@ fun Project.importCommonDependencies() {
8889
8990 // The two following syntax is applicable
9091 // source: https://github.com/gradle/kotlin-dsl-samples/issues/843
91- " implementation" (fileTree(" dir" to " libs" , " include" to listOf (" *.jar" )))
9292 " implementation" (Dependencies .Kotlin .stdLib)
9393
9494 " implementation" (Dependencies .rxJava)
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ object Versions {
1111 const val timber = " 4.7.1"
1212 const val logger = " 2.2.0"
1313 const val epoxy = " 3.11.0"
14+ const val androidMaven = " 2.1"
1415
1516 // Test frameworks
1617 const val junit = " 4.12"
You can’t perform that action at this time.
0 commit comments