Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Don't Merge] This branch demonstrates use of basic xml views only with multi module project and clean architecture #38

Open
wants to merge 1 commit into
base: baseproject
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,6 @@ android {
dataBinding = true
}

buildFeatures {
compose = true
}

composeOptions {
kotlinCompilerExtensionVersion = Lib.Androidx.composeVersion
}

packagingOptions {
resources.excludes.add("META-INF/LICENSE.txt")
resources.excludes.add("META-INF/NOTICE.txt")
Expand Down Expand Up @@ -122,18 +114,11 @@ hilt {
}

dependencies {


Lib.Androidx.list.forEach(::api)
Lib.Androidx.Compose.list.forEach(::api)
Lib.ThirdParty.list.forEach(::api)
Lib.Accompanist.list.forEach(::api)
Lib.Google.list.forEach(::api)
Lib.Kotlin.list.forEach(::api)
api(project(":ui-feature1"))

api(project(":ui-onboarding"))
api(project(":ui-authentication"))
api(project(":navigator"))
api(project(":data"))
api(project(":domain"))
api(project(":common"))
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
<uses-permission android:name="android.permission.INTERNET" />

<application
android:usesCleartextTraffic="true"
android:name=".PraxisCloneApp"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.App.SplashScreenTheme"
android:usesCleartextTraffic="true"
tools:ignore="GoogleAppIndexingWarning">
<activity
android:name=".root.OnboardingActivity"
android:name="com.praxis.feat.authentication.ui.MainActivity"
android:exported="true"
android:theme="@style/Theme.App.SplashScreenTheme">
<intent-filter>
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/java/com/mutualmobile/praxis/di/AppModule.kt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package com.mutualmobile.praxis.di

import android.app.Application
import android.content.Context
import dagger.Binds
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.mutualmobile.praxis.di

import com.mutualmobile.praxis.navigator.ComposeNavigator
import com.mutualmobile.praxis.navigator.composenavigator.PraxisCloneComposeNavigator
import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
Expand All @@ -12,7 +10,5 @@ import javax.inject.Singleton
@InstallIn(SingletonComponent::class)
abstract class NavigationModule {

@Binds
@Singleton
abstract fun provideComposeNavigator(praxisComposeNavigator: PraxisCloneComposeNavigator): ComposeNavigator

}

This file was deleted.

31 changes: 0 additions & 31 deletions app/src/main/res/layout/view_random_photos.xml

This file was deleted.

5 changes: 0 additions & 5 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,11 @@ dependencies {


Lib.Androidx.list.forEach(::implementation)
Lib.Androidx.Compose.list.forEach(::implementation)
Lib.ThirdParty.list.forEach(::implementation)
Lib.Accompanist.list.forEach(::implementation)
Lib.Google.list.forEach(::implementation)
Lib.Kotlin.list.forEach(::implementation)

/*DI*/
implementation(Lib.Di.hilt)
implementation(Lib.Di.hiltNavigationCompose)
implementation(Lib.Di.viewmodel)
kapt(Lib.Di.hiltCompiler)
kapt(Lib.Di.hiltAndroidCompiler)

Expand Down
7 changes: 0 additions & 7 deletions commonui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,12 @@ kapt {
}

dependencies {


Lib.Androidx.list.forEach(::implementation)
Lib.Androidx.Compose.list.forEach(::implementation)
Lib.ThirdParty.list.forEach(::implementation)
Lib.Accompanist.list.forEach(::implementation)
Lib.Google.list.forEach(::implementation)
Lib.Kotlin.list.forEach(::implementation)

/*DI*/
implementation(Lib.Di.hilt)
implementation(Lib.Di.hiltNavigationCompose)
implementation(Lib.Di.viewmodel)
kapt(Lib.Di.hiltCompiler)
kapt(Lib.Di.hiltAndroidCompiler)

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading