splitting core into core and compose core to allow for more modules to avoid the android plugin

This commit is contained in:
Adam Brown 2022-06-11 14:10:17 +01:00
parent 4a0d2cd42d
commit 8261d53460
19 changed files with 23 additions and 12 deletions

View File

@ -0,0 +1,7 @@
applyAndroidComposeLibraryModule(project)
dependencies {
implementation project(":core")
implementation project(":features:navigator")
api project(":domains:android:core")
}

View File

@ -1,6 +1,7 @@
applyAndroidComposeLibraryModule(project)
plugins { id 'kotlin' }
dependencies {
compileOnly project(":domains:android:stub")
implementation project(":core")
implementation project(":features:navigator")
}

View File

@ -13,6 +13,8 @@ if (localProperties.exists()) {
dependencies {
def androidVer = androidSdkVersion
api files("${properties.getProperty("sdk.dir")}/platforms/android-${androidVer}/android.jar")
kotlinFixtures(it)
testFixturesImplementation testFixtures(project(":core"))
testFixturesImplementation files("${properties.getProperty("sdk.dir")}/platforms/android-${androidVer}/android.jar")

View File

@ -1,6 +1,7 @@
applyAndroidLibraryModule(project)
plugins { id 'kotlin' }
dependencies {
compileOnly project(":domains:android:stub")
implementation project(':core')
implementation project(':domains:android:core')
}

View File

@ -4,7 +4,7 @@ dependencies {
implementation project(":matrix:services:sync")
implementation project(":matrix:services:message")
implementation project(":matrix:services:room")
implementation project(":domains:android:core")
implementation project(":domains:android:compose-core")
implementation project(":domains:android:viewmodel")
implementation project(":features:messenger")
implementation project(":core")

View File

@ -7,7 +7,7 @@ dependencies {
implementation project(":features:login")
implementation project(":features:settings")
implementation project(":features:profile")
implementation project(":domains:android:core")
implementation project(":domains:android:compose-core")
implementation project(":domains:android:viewmodel")
implementation project(':domains:store')
implementation project(":core")

View File

@ -1,7 +1,7 @@
applyAndroidComposeLibraryModule(project)
dependencies {
implementation project(":domains:android:core")
implementation project(":domains:android:compose-core")
implementation project(":domains:android:push")
implementation project(":domains:android:viewmodel")
implementation project(":matrix:services:auth")

View File

@ -5,7 +5,7 @@ dependencies {
implementation project(":matrix:services:sync")
implementation project(":matrix:services:message")
implementation project(":matrix:services:room")
implementation project(":domains:android:core")
implementation project(":domains:android:compose-core")
implementation project(":domains:android:viewmodel")
implementation project(":core")
implementation project(":features:navigator")

View File

@ -1,6 +1,7 @@
applyAndroidLibraryModule(project)
plugins { id 'kotlin' }
dependencies {
compileOnly project(":domains:android:stub")
implementation project(":core")
implementation project(":matrix:common")
}

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="app.dapk.st.navigator"/>

View File

@ -6,7 +6,7 @@ dependencies {
implementation project(":matrix:services:profile")
implementation project(":features:settings")
implementation project(':domains:store')
implementation project(":domains:android:core")
implementation project(":domains:android:compose-core")
implementation project(":domains:android:viewmodel")
implementation project(":design-library")
implementation project(":core")

View File

@ -5,7 +5,7 @@ dependencies {
implementation project(":matrix:services:crypto")
implementation project(":features:navigator")
implementation project(':domains:store')
implementation project(":domains:android:core")
implementation project(":domains:android:compose-core")
implementation project(":domains:android:viewmodel")
implementation project(":design-library")
implementation project(":core")

View File

@ -2,7 +2,7 @@ applyAndroidComposeLibraryModule(project)
dependencies {
implementation project(":matrix:services:crypto")
implementation project(":domains:android:core")
implementation project(":domains:android:compose-core")
implementation project(":domains:android:viewmodel")
implementation project(":design-library")
implementation project(":core")

View File

@ -22,6 +22,7 @@ include ':features:verification'
include ':domains:android:stub'
include ':domains:android:core'
include ':domains:android:compose-core'
include ':domains:android:imageloader'
include ':domains:android:work'
include ':domains:android:tracking'