File tree Expand file tree Collapse file tree 7 files changed +71
-688
lines changed
buildSrc/src/main/kotlin/extensions Expand file tree Collapse file tree 7 files changed +71
-688
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ plugins {
2+ androidApplication
3+ kotlinAndroid
4+ kotlinParcelize
5+ kotlinKapt
6+ daggerHilt
7+ }
8+
9+ android {
10+ compileSdkVersion(Config .compileSdk)
11+
12+ defaultConfig {
13+ applicationId(" com.kryptkode.android.module.template" )
14+ minSdkVersion(Config .minSdk)
15+ targetSdkVersion(Config .targetSdk)
16+ versionCode = 1
17+ versionName = " 1.0"
18+
19+ testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
20+ }
21+
22+
23+ buildTypes {
24+ buildTypes {
25+ getByName(BuildTypes .RELEASE ) {
26+ isMinifyEnabled = true
27+ }
28+ }
29+ }
30+
31+ kotlinOptions {
32+ jvmTarget = " 1.8"
33+ }
34+ }
35+
36+ dependencies {
37+
38+ implementation(Libs .kotlin_stdlib)
39+ implementation(Libs .core_ktx)
40+ implementation(Libs .appcompat)
41+ implementation(Libs .timber)
42+
43+ implementation(Libs .moshi_kotlin)
44+
45+ implementation(Libs .room_ktx)
46+ implementation(Libs .room_runtime)
47+
48+ implementation(Libs .constraintlayout)
49+ implementation(Libs .material)
50+
51+ implementation(Libs .navigation_fragment_ktx)
52+ implementation(Libs .navigation_ui_ktx)
53+
54+ debugImplementation (" com.squareup.leakcanary:leakcanary-android:2.6" )
55+
56+
57+ implementation(Libs .hilt_android)
58+ kapt(Libs .hilt_android_compiler)
59+ implementation(Libs .hilt_lifecycle_viewmodel)
60+ kapt(Libs .hilt_compiler)
61+
62+ testImplementation(Libs .junit_junit)
63+ androidTestImplementation(Libs .androidx_test_ext_junit)
64+ androidTestImplementation(Libs .espresso_core)
65+ }
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ buildscript {
1616
1717plugins {
1818 buildSrcVersions
19- id(ScriptsPlugins .quality)
19+ quality
20+ jacoco
2021}
2122
2223allprojects {
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ val PluginDependenciesSpec.androidApplication: PluginDependencySpec
2626val PluginDependenciesSpec .androidLibrary: PluginDependencySpec
2727 get() = id(ScriptsPlugins .androidLibrary)
2828
29+ val PluginDependenciesSpec .quality: PluginDependencySpec
30+ get() = id(ScriptsPlugins .quality)
31+
2932val PluginDependenciesSpec .kotlinAndroid: PluginDependencySpec
3033 get() = id(GradlePluginId .kotlinAndroid)
3134
You can’t perform that action at this time.
0 commit comments