-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GRADLE] Create shared gradle file for feature modules
- Loading branch information
1 parent
a96c44b
commit 7b8edab
Showing
12 changed files
with
81 additions
and
129 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
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
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
android { | ||
compileSdkVersion AndroidConfig.compileSdkVersion | ||
buildToolsVersion AndroidConfig.buildToolsVersion | ||
|
||
defaultConfig { | ||
minSdkVersion AndroidConfig.minSdkVersion | ||
targetSdkVersion AndroidConfig.targetSdkVersion | ||
versionCode AndroidConfig.versionCode | ||
versionName AndroidConfig.versionName | ||
|
||
testInstrumentationRunner AndroidConfig.testInstrumentationRunner | ||
consumerProguardFiles AndroidConfig.consumerProguardFile | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
} | ||
beta { | ||
initWith debug | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility = AndroidConfig.javaVersion | ||
targetCompatibility = AndroidConfig.javaVersion | ||
} | ||
kotlinOptions { | ||
jvmTarget = AndroidConfig.jvmTarget | ||
} | ||
} |
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
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
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
12 changes: 12 additions & 0 deletions
12
presentation/home/src/main/java/com/peterkrauz/grimoire/presentation/home/ArcsViewModel.kt
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.peterkrauz.grimoire.presentation.home | ||
|
||
import androidx.hilt.Assisted | ||
import androidx.hilt.lifecycle.ViewModelInject | ||
import androidx.lifecycle.SavedStateHandle | ||
import androidx.lifecycle.ViewModel | ||
|
||
class ArcsViewModel @ViewModelInject constructor( | ||
@Assisted private val savedStateHandle: SavedStateHandle | ||
) : ViewModel() { | ||
|
||
} |
3 changes: 3 additions & 0 deletions
3
...tation/home/src/main/java/com/peterkrauz/grimoire/presentation/home/add/AddArcFragment.kt
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package com.peterkrauz.grimoire.presentation.home.add | ||
|
||
class AddArcFragment |
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
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
2 changes: 2 additions & 0 deletions
2
presentation/tags/src/main/java/com/peterkrauz/grimoire/presentation/tags/TagsFragment.kt
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,7 @@ | ||
package com.peterkrauz.grimoire.presentation.tags | ||
|
||
import androidx.fragment.app.Fragment | ||
import dagger.hilt.android.AndroidEntryPoint | ||
|
||
@AndroidEntryPoint | ||
class TagsFragment : Fragment(R.layout.fragment_tags) |