A fork of Simple Time Tracker with WearOS support. (Now integrated upstream)
0

Configure Feed

Select the types of activity you want to include in your feed.

switch to gradle kotlin dsl

razeeman (Jun 13, 2020, 1:30 PM +0300) 950b0597 f32e8455

+779 -723
-75
app/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.application' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - applicationId "com.example.util.simpletimetracker" 13 - minSdkVersion base.minSDK 14 - targetSdkVersion base.currentSDK 15 - versionCode base.versionCode 16 - versionName base.versionName 17 - 18 - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 19 - } 20 - 21 - buildTypes { 22 - debug { 23 - minifyEnabled true 24 - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 25 - } 26 - release { 27 - minifyEnabled true 28 - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 29 - } 30 - } 31 - 32 - compileOptions { 33 - sourceCompatibility JavaVersion.VERSION_1_8 34 - targetCompatibility JavaVersion.VERSION_1_8 35 - } 36 - 37 - kotlinOptions { 38 - jvmTarget = JavaVersion.VERSION_1_8.toString() 39 - } 40 - } 41 - 42 - dependencies { 43 - implementation project(':domain') 44 - implementation project(':core') 45 - implementation project(':navigation') 46 - implementation project(':data_local') 47 - implementation project(':feature_main') 48 - implementation project(':feature_running_records') 49 - implementation project(':feature_change_record_type') 50 - implementation project(':feature_records') 51 - implementation project(':feature_change_record') 52 - implementation project(':feature_statistics') 53 - implementation project(':feature_settings') 54 - implementation project(':feature_dialogs') 55 - implementation project(':feature_widget') 56 - 57 - implementation deps.androidx.appcompat 58 - implementation deps.androidx.constraintlayout 59 - implementation deps.androidx.recyclerview 60 - implementation deps.androidx.room 61 - implementation deps.androidx.lifecycle_extensions 62 - implementation deps.google.dagger 63 - implementation deps.ktx.core 64 - implementation deps.ktx.fragment 65 - implementation deps.ktx.livedata_core 66 - implementation deps.ktx.livedata 67 - implementation deps.ktx.viewmodel 68 - implementation deps.ktx.navigation_fragment 69 - implementation deps.ktx.navigation_ui 70 - kapt deps.kapt.dagger 71 - 72 - testImplementation deps.test.junit 73 - androidTestImplementation deps.uitest.junit 74 - androidTestImplementation deps.uitest.espresso 75 - }
+75
app/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.application") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + applicationId = "com.example.util.simpletimetracker" 16 + minSdkVersion(Base.minSDK) 17 + targetSdkVersion(Base.currentSDK) 18 + versionCode = Base.versionCode 19 + versionName = Base.versionName 20 + 21 + testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" 22 + } 23 + 24 + buildTypes { 25 + getByName("debug") { 26 + isMinifyEnabled = true 27 + proguardFiles( 28 + getDefaultProguardFile("proguard-android-optimize.txt"), 29 + "proguard-rules.pro" 30 + ) 31 + } 32 + getByName("release") { 33 + isMinifyEnabled = true 34 + proguardFiles( 35 + getDefaultProguardFile("proguard-android-optimize.txt"), 36 + "proguard-rules.pro" 37 + ) 38 + } 39 + } 40 + } 41 + 42 + dependencies { 43 + implementation(project(":domain")) 44 + implementation(project(":core")) 45 + implementation(project(":navigation")) 46 + implementation(project(":data_local")) 47 + implementation(project(":feature_main")) 48 + implementation(project(":feature_running_records")) 49 + implementation(project(":feature_change_record_type")) 50 + implementation(project(":feature_records")) 51 + implementation(project(":feature_change_record")) 52 + implementation(project(":feature_statistics")) 53 + implementation(project(":feature_settings")) 54 + implementation(project(":feature_dialogs")) 55 + implementation(project(":feature_widget")) 56 + 57 + implementation(deps.androidx.appcompat) 58 + implementation(deps.androidx.constraintlayout) 59 + implementation(deps.androidx.recyclerview) 60 + implementation(deps.androidx.room) 61 + implementation(deps.androidx.lifecycle_extensions) 62 + implementation(deps.google.dagger) 63 + implementation(deps.ktx.core) 64 + implementation(deps.ktx.fragment) 65 + implementation(deps.ktx.livedata_core) 66 + implementation(deps.ktx.livedata) 67 + implementation(deps.ktx.viewmodel) 68 + implementation(deps.ktx.navigation_fragment) 69 + implementation(deps.ktx.navigation_ui) 70 + kapt(deps.kapt.dagger) 71 + 72 + testImplementation(deps.test.junit) 73 + androidTestImplementation(deps.uitest.junit) 74 + androidTestImplementation(deps.uitest.espresso) 75 + }
-34
build.gradle
··· 1 - // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 - 3 - buildscript { 4 - apply from: "deps.gradle" 5 - 6 - repositories { 7 - google() 8 - jcenter() 9 - maven { url "https://plugins.gradle.org/m2/" } 10 - 11 - } 12 - dependencies { 13 - classpath buildPlugins.gradle 14 - classpath buildPlugins.kotlin 15 - classpath buildPlugins.ktlint 16 - 17 - // NOTE: Do not place your application dependencies here; they belong 18 - // in the individual module build.gradle files 19 - } 20 - } 21 - 22 - allprojects { 23 - repositories { 24 - google() 25 - jcenter() 26 - 27 - } 28 - 29 - apply plugin: "org.jlleitschuh.gradle.ktlint" 30 - } 31 - 32 - task clean(type: Delete) { 33 - delete rootProject.buildDir 34 - }
+32
build.gradle.kts
··· 1 + // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 + 3 + buildscript { 4 + repositories { 5 + google() 6 + jcenter() 7 + maven("https://plugins.gradle.org/m2/") 8 + } 9 + dependencies { 10 + classpath(com.example.util.simpletimetracker.BuildPlugins.gradle) 11 + classpath(com.example.util.simpletimetracker.BuildPlugins.kotlin) 12 + classpath(com.example.util.simpletimetracker.BuildPlugins.ktlint) 13 + 14 + // NOTE: Do not place your application dependencies here; they belong 15 + // in the individual module build.gradle files 16 + } 17 + } 18 + 19 + allprojects { 20 + repositories { 21 + google() 22 + jcenter() 23 + } 24 + 25 + apply(plugin = "org.jlleitschuh.gradle.ktlint") 26 + } 27 + 28 + tasks { 29 + val clean by registering(Delete::class) { 30 + delete(buildDir) 31 + } 32 + }
+1
buildSrc/.gitignore
··· 1 + /build
+8
buildSrc/build.gradle.kts
··· 1 + repositories { 2 + google() 3 + jcenter() 4 + } 5 + 6 + plugins { 7 + `kotlin-dsl` 8 + }
+8
buildSrc/src/main/kotlin/com/example/util/simpletimetracker/Base.kt
··· 1 + package com.example.util.simpletimetracker 2 + 3 + object Base { 4 + const val versionCode = 1 5 + const val versionName = "1.0" 6 + const val minSDK = 19 7 + const val currentSDK = 29 8 + }
+7
buildSrc/src/main/kotlin/com/example/util/simpletimetracker/BuildPlugins.kt
··· 1 + package com.example.util.simpletimetracker 2 + 3 + object BuildPlugins { 4 + const val gradle = "com.android.tools.build:gradle:${Versions.gradle}" 5 + const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}" 6 + const val ktlint = "org.jlleitschuh.gradle:ktlint-gradle:${Versions.ktlint}" 7 + }
+65
buildSrc/src/main/kotlin/com/example/util/simpletimetracker/Deps.kt
··· 1 + package com.example.util.simpletimetracker 2 + 3 + object deps { 4 + const val kotlin = "org.jetbrains.kotlin:kotlin-stdlib:${Versions.kotlin}" 5 + const val coroutines = "org.jetbrains.kotlinx:kotlinx-coroutines-android:${Versions.coroutines}" 6 + const val javax = "javax.inject:javax.inject:${Versions.javax}" 7 + const val timber = "com.jakewharton.timber:timber:${Versions.timber}" 8 + 9 + object androidx { 10 + const val appcompat = 11 + "androidx.appcompat:appcompat:${Versions.appcompat}" 12 + const val constraintlayout = 13 + "androidx.constraintlayout:constraintlayout:${Versions.constraintLayout}" 14 + const val recyclerview = 15 + "androidx.recyclerview:recyclerview:${Versions.recyclerview}" 16 + const val lifecycle_extensions = 17 + "androidx.lifecycle:lifecycle-extensions:${Versions.lifecycle_extensions}" 18 + const val room = 19 + "androidx.room:room-runtime:${Versions.room}" 20 + const val viewpager2 = 21 + "androidx.viewpager2:viewpager2:${Versions.viewpager2}" 22 + const val cardView = 23 + "androidx.cardview:cardview:${Versions.cardView}" 24 + const val material = 25 + "com.google.android.material:material:${Versions.material}" 26 + } 27 + 28 + object google { 29 + const val dagger = "com.google.dagger:dagger:${Versions.dagger}" 30 + const val flexBox = "com.google.android:flexbox:${Versions.flexBox}" 31 + } 32 + 33 + object ktx { 34 + const val core = 35 + "androidx.core:core-ktx:${Versions.core_ktx}" 36 + const val fragment = 37 + "androidx.fragment:fragment-ktx:${Versions.fragment_ktx}" 38 + const val livedata_core = 39 + "androidx.lifecycle:lifecycle-livedata-core-ktx:${Versions.livedata_core_ktx}" 40 + const val livedata = 41 + "androidx.lifecycle:lifecycle-livedata-ktx:${Versions.livedata_ktx}" 42 + const val viewmodel = 43 + "androidx.lifecycle:lifecycle-viewmodel-ktx:${Versions.viewmodel_ktx}" 44 + const val room = 45 + "androidx.room:room-ktx:${Versions.room_ktx}" 46 + const val navigation_fragment = 47 + "androidx.navigation:navigation-fragment-ktx:${Versions.navigation_ktx}" 48 + const val navigation_ui = 49 + "androidx.navigation:navigation-ui-ktx:${Versions.navigation_ktx}" 50 + } 51 + 52 + object kapt { 53 + const val room = "androidx.room:room-compiler:${Versions.room}" 54 + const val dagger = "com.google.dagger:dagger-compiler:${Versions.dagger}" 55 + } 56 + 57 + object test { 58 + const val junit = "junit:junit:${Versions.junit}" 59 + } 60 + 61 + object uitest { 62 + const val junit = "androidx.test.ext:junit:${Versions.junit_ui}" 63 + const val espresso = "androidx.test.espresso:espresso-core:${Versions.espresso}" 64 + } 65 + }
+34
buildSrc/src/main/kotlin/com/example/util/simpletimetracker/Versions.kt
··· 1 + package com.example.util.simpletimetracker 2 + 3 + object Versions { 4 + const val gradle = "4.0.0" 5 + const val kotlin = "1.3.71" 6 + const val ktlint = "9.2.1" 7 + 8 + const val coroutines = "1.3.2" 9 + const val timber = "4.7.1" 10 + const val javax = "1" 11 + 12 + const val appcompat = "1.1.0" 13 + const val constraintLayout = "1.1.3" 14 + const val recyclerview = "1.1.0" 15 + const val lifecycle_extensions = "2.2.0" 16 + const val room = "2.2.5" 17 + const val dagger = "2.24" 18 + const val viewpager2 = "1.0.0" 19 + const val flexBox = "1.0.0" 20 + const val cardView = "1.0.0" 21 + const val material = "1.1.0" 22 + 23 + const val fragment_ktx = "1.2.0" 24 + const val core_ktx = "1.2.0" 25 + const val livedata_core_ktx = "2.2.0" 26 + const val livedata_ktx = "2.2.0" 27 + const val viewmodel_ktx = "2.2.0" 28 + const val room_ktx = "2.2.5" 29 + const val navigation_ktx = "2.3.0-alpha06" 30 + 31 + const val junit = "4.12" 32 + const val junit_ui = "1.1.1" 33 + const val espresso = "3.2.0" 34 + }
-35
core/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - 18 - kotlinOptions { 19 - jvmTarget = JavaVersion.VERSION_1_8.toString() 20 - } 21 - } 22 - 23 - dependencies { 24 - implementation project(':domain') 25 - 26 - implementation deps.androidx.appcompat 27 - implementation deps.androidx.recyclerview 28 - implementation deps.androidx.constraintlayout 29 - implementation deps.androidx.cardView 30 - implementation deps.androidx.material 31 - 32 - testImplementation deps.test.junit 33 - androidTestImplementation deps.uitest.junit 34 - androidTestImplementation deps.uitest.espresso 35 - }
+34
core/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + } 21 + 22 + dependencies { 23 + implementation(project(":domain")) 24 + 25 + implementation(deps.androidx.appcompat) 26 + implementation(deps.androidx.recyclerview) 27 + implementation(deps.androidx.constraintlayout) 28 + implementation(deps.androidx.cardView) 29 + implementation(deps.androidx.material) 30 + 31 + testImplementation(deps.test.junit) 32 + androidTestImplementation(deps.uitest.junit) 33 + androidTestImplementation(deps.uitest.espresso) 34 + }
-36
data_local/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - 18 - kotlinOptions { 19 - jvmTarget = JavaVersion.VERSION_1_8.toString() 20 - } 21 - } 22 - 23 - dependencies { 24 - implementation project(':domain') 25 - implementation project(':core') 26 - 27 - implementation deps.androidx.room 28 - implementation deps.ktx.room 29 - implementation deps.google.dagger 30 - kapt deps.kapt.room 31 - kapt deps.kapt.dagger 32 - 33 - testImplementation deps.test.junit 34 - androidTestImplementation deps.uitest.junit 35 - androidTestImplementation deps.uitest.espresso 36 - }
+35
data_local/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + } 21 + 22 + dependencies { 23 + implementation(project(":domain")) 24 + implementation(project(":core")) 25 + 26 + implementation(deps.androidx.room) 27 + implementation(deps.ktx.room) 28 + implementation(deps.google.dagger) 29 + kapt(deps.kapt.room) 30 + kapt(deps.kapt.dagger) 31 + 32 + testImplementation(deps.test.junit) 33 + androidTestImplementation(deps.uitest.junit) 34 + androidTestImplementation(deps.uitest.espresso) 35 + }
-94
deps.gradle
··· 1 - ext { 2 - base = [ 3 - 'versionCode': 1, 4 - 'versionName': "1.0", 5 - 'minSDK' : 19, 6 - 'currentSDK' : 29 7 - ] 8 - 9 - versions = [ 10 - 'gradle' : '3.6.3', 11 - 'kotlin' : '1.3.71', 12 - 'coroutines' : '1.3.2', 13 - 'timber' : '4.7.1', 14 - 'ktlint' : '9.2.1', 15 - 16 - 'appcompat' : '1.1.0', 17 - 'constraintLayout' : '1.1.3', 18 - 'recyclerview' : '1.1.0', 19 - 'lifecycle_extensions': '2.2.0', 20 - 'room' : '2.2.5', 21 - 'dagger' : '2.24', 22 - 'viewpager2' : '1.0.0', 23 - 'flexBox' : '1.0.0', 24 - 'cardView' : '1.0.0', 25 - 'material' : '1.1.0', 26 - 27 - 'fragment_ktx' : '1.2.0', 28 - 'core_ktx' : '1.2.0', 29 - 'livedata_core_ktx' : '2.2.0', 30 - 'livedata_ktx' : '2.2.0', 31 - 'viewmodel_ktx' : '2.2.0', 32 - 'room_ktx' : '2.2.5', 33 - 'navigation_ktx' : '2.3.0-alpha06', 34 - 35 - 'junit' : '4.12', 36 - 'junit_ui' : '1.1.1', 37 - 'espresso' : '3.2.0' 38 - ] 39 - 40 - deps = [ 41 - 'kotlin' : "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}", 42 - 'coroutines': "org.jetbrains.kotlinx:kotlinx-coroutines-android:${versions.coroutines}", 43 - 'javax' : "javax.inject:javax.inject:1", 44 - 'timber' : "com.jakewharton.timber:timber:${versions.timber}", 45 - 46 - 'androidx' : [ 47 - 'appcompat' : "androidx.appcompat:appcompat:${versions.appcompat}", 48 - 'constraintlayout' : "androidx.constraintlayout:constraintlayout:${versions.constraintLayout}", 49 - 'recyclerview' : "androidx.recyclerview:recyclerview:${versions.recyclerview}", 50 - 'lifecycle_extensions': "androidx.lifecycle:lifecycle-extensions:${versions.lifecycle_extensions}", 51 - 'room' : "androidx.room:room-runtime:${versions.room}", 52 - 'viewpager2' : "androidx.viewpager2:viewpager2:${versions.viewpager2}", 53 - 'cardView' : "androidx.cardview:cardview:${versions.cardView}", 54 - 'material' : "com.google.android.material:material:${versions.material}", 55 - ], 56 - 57 - 'google' : [ 58 - 'dagger' : "com.google.dagger:dagger:${versions.dagger}", 59 - 'flexBox': "com.google.android:flexbox:${versions.flexBox}" 60 - ], 61 - 62 - 'ktx' : [ 63 - 'core' : "androidx.core:core-ktx:${versions.core_ktx}", 64 - 'fragment' : "androidx.fragment:fragment-ktx:${versions.fragment_ktx}", 65 - 'livedata_core' : "androidx.lifecycle:lifecycle-livedata-core-ktx:${versions.livedata_core_ktx}", 66 - 'livedata' : "androidx.lifecycle:lifecycle-livedata-ktx:${versions.livedata_ktx}", 67 - 'viewmodel' : "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.viewmodel_ktx}", 68 - 'room' : "androidx.room:room-ktx:${versions.room_ktx}", 69 - 'navigation_fragment': "androidx.navigation:navigation-fragment-ktx:${versions.navigation_ktx}", 70 - 'navigation_ui' : "androidx.navigation:navigation-ui-ktx:${versions.navigation_ktx}" 71 - ], 72 - 73 - 'kapt' : [ 74 - 'room' : "androidx.room:room-compiler:$versions.room", 75 - 'dagger': "com.google.dagger:dagger-compiler:${versions.dagger}" 76 - ], 77 - 78 - 'test' : [ 79 - 'junit': "junit:junit:${versions.junit}" 80 - ], 81 - 82 - 'uitest' : [ 83 - 'junit' : "androidx.test.ext:junit:${versions.junit_ui}", 84 - 'espresso': "androidx.test.espresso:espresso-core:${versions.espresso}" 85 - 86 - ] 87 - ] 88 - 89 - buildPlugins = [ 90 - 'gradle': "com.android.tools.build:gradle:${versions.gradle}", 91 - 'kotlin': "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}", 92 - 'ktlint': "org.jlleitschuh.gradle:ktlint-gradle:${versions.ktlint}", 93 - ] 94 - }
-25
domain/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - } 18 - 19 - dependencies { 20 - api deps.javax 21 - api deps.coroutines 22 - api deps.timber 23 - 24 - testImplementation deps.test.junit 25 - }
+28
domain/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + } 21 + 22 + dependencies { 23 + api(deps.javax) 24 + api(deps.coroutines) 25 + api(deps.timber) 26 + 27 + testImplementation(deps.test.junit) 28 + }
-43
feature_change_record/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - 18 - kotlinOptions { 19 - jvmTarget = JavaVersion.VERSION_1_8.toString() 20 - } 21 - } 22 - 23 - dependencies { 24 - implementation project(':domain') 25 - implementation project(':core') 26 - implementation project(':navigation') 27 - 28 - implementation deps.androidx.appcompat 29 - implementation deps.androidx.constraintlayout 30 - implementation deps.androidx.recyclerview 31 - implementation deps.androidx.cardView 32 - implementation deps.androidx.material 33 - implementation deps.google.flexBox 34 - implementation deps.google.dagger 35 - implementation deps.ktx.fragment 36 - implementation deps.ktx.livedata 37 - implementation deps.ktx.viewmodel 38 - kapt deps.kapt.dagger 39 - 40 - testImplementation deps.test.junit 41 - androidTestImplementation deps.uitest.junit 42 - androidTestImplementation deps.uitest.espresso 43 - }
+46
feature_change_record/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + 21 + kotlinOptions { 22 + jvmTarget = JavaVersion.VERSION_1_8.toString() 23 + } 24 + } 25 + 26 + dependencies { 27 + implementation(project(":domain")) 28 + implementation(project(":core")) 29 + implementation(project(":navigation")) 30 + 31 + implementation(deps.androidx.appcompat) 32 + implementation(deps.androidx.constraintlayout) 33 + implementation(deps.androidx.recyclerview) 34 + implementation(deps.androidx.cardView) 35 + implementation(deps.androidx.material) 36 + implementation(deps.google.flexBox) 37 + implementation(deps.google.dagger) 38 + implementation(deps.ktx.fragment) 39 + implementation(deps.ktx.livedata) 40 + implementation(deps.ktx.viewmodel) 41 + kapt(deps.kapt.dagger) 42 + 43 + testImplementation(deps.test.junit) 44 + androidTestImplementation(deps.uitest.junit) 45 + androidTestImplementation(deps.uitest.espresso) 46 + }
-43
feature_change_record_type/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - 18 - kotlinOptions { 19 - jvmTarget = JavaVersion.VERSION_1_8.toString() 20 - } 21 - } 22 - 23 - dependencies { 24 - implementation project(':domain') 25 - implementation project(':core') 26 - implementation project(':navigation') 27 - 28 - implementation deps.androidx.appcompat 29 - implementation deps.androidx.constraintlayout 30 - implementation deps.androidx.recyclerview 31 - implementation deps.androidx.cardView 32 - implementation deps.androidx.material 33 - implementation deps.google.flexBox 34 - implementation deps.google.dagger 35 - implementation deps.ktx.fragment 36 - implementation deps.ktx.livedata 37 - implementation deps.ktx.viewmodel 38 - kapt deps.kapt.dagger 39 - 40 - testImplementation deps.test.junit 41 - androidTestImplementation deps.uitest.junit 42 - androidTestImplementation deps.uitest.espresso 43 - }
+46
feature_change_record_type/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + 21 + kotlinOptions { 22 + jvmTarget = JavaVersion.VERSION_1_8.toString() 23 + } 24 + } 25 + 26 + dependencies { 27 + implementation(project(":domain")) 28 + implementation(project(":core")) 29 + implementation(project(":navigation")) 30 + 31 + implementation(deps.androidx.appcompat) 32 + implementation(deps.androidx.constraintlayout) 33 + implementation(deps.androidx.recyclerview) 34 + implementation(deps.androidx.cardView) 35 + implementation(deps.androidx.material) 36 + implementation(deps.google.flexBox) 37 + implementation(deps.google.dagger) 38 + implementation(deps.ktx.fragment) 39 + implementation(deps.ktx.livedata) 40 + implementation(deps.ktx.viewmodel) 41 + kapt(deps.kapt.dagger) 42 + 43 + testImplementation(deps.test.junit) 44 + androidTestImplementation(deps.uitest.junit) 45 + androidTestImplementation(deps.uitest.espresso) 46 + }
-42
feature_dialogs/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - 18 - kotlinOptions { 19 - jvmTarget = JavaVersion.VERSION_1_8.toString() 20 - } 21 - } 22 - 23 - dependencies { 24 - implementation project(':domain') 25 - implementation project(':core') 26 - implementation project(':navigation') 27 - 28 - implementation deps.androidx.appcompat 29 - implementation deps.androidx.constraintlayout 30 - implementation deps.androidx.material 31 - implementation deps.androidx.viewpager2 32 - implementation deps.google.flexBox 33 - implementation deps.google.dagger 34 - implementation deps.ktx.fragment 35 - implementation deps.ktx.livedata 36 - implementation deps.ktx.viewmodel 37 - kapt deps.kapt.dagger 38 - 39 - testImplementation deps.test.junit 40 - androidTestImplementation deps.uitest.junit 41 - androidTestImplementation deps.uitest.espresso 42 - }
+45
feature_dialogs/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + 21 + kotlinOptions { 22 + jvmTarget = JavaVersion.VERSION_1_8.toString() 23 + } 24 + } 25 + 26 + dependencies { 27 + implementation(project(":domain")) 28 + implementation(project(":core")) 29 + implementation(project(":navigation")) 30 + 31 + implementation(deps.androidx.appcompat) 32 + implementation(deps.androidx.constraintlayout) 33 + implementation(deps.androidx.material) 34 + implementation(deps.androidx.viewpager2) 35 + implementation(deps.google.flexBox) 36 + implementation(deps.google.dagger) 37 + implementation(deps.ktx.fragment) 38 + implementation(deps.ktx.livedata) 39 + implementation(deps.ktx.viewmodel) 40 + kapt(deps.kapt.dagger) 41 + 42 + testImplementation(deps.test.junit) 43 + androidTestImplementation(deps.uitest.junit) 44 + androidTestImplementation(deps.uitest.espresso) 45 + }
-36
feature_main/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - } 18 - 19 - dependencies { 20 - implementation project(':domain') 21 - implementation project(':core') 22 - implementation project(':feature_running_records') 23 - implementation project(':feature_records') 24 - implementation project(':feature_statistics') 25 - implementation project(':feature_settings') 26 - 27 - implementation deps.androidx.appcompat 28 - implementation deps.androidx.constraintlayout 29 - implementation deps.androidx.recyclerview 30 - implementation deps.androidx.viewpager2 31 - implementation deps.androidx.material 32 - 33 - testImplementation deps.test.junit 34 - androidTestImplementation deps.uitest.junit 35 - androidTestImplementation deps.uitest.espresso 36 - }
+39
feature_main/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + } 21 + 22 + dependencies { 23 + implementation(project(":domain")) 24 + implementation(project(":core")) 25 + implementation(project(":feature_running_records")) 26 + implementation(project(":feature_records")) 27 + implementation(project(":feature_statistics")) 28 + implementation(project(":feature_settings")) 29 + 30 + implementation(deps.androidx.appcompat) 31 + implementation(deps.androidx.constraintlayout) 32 + implementation(deps.androidx.recyclerview) 33 + implementation(deps.androidx.viewpager2) 34 + implementation(deps.androidx.material) 35 + 36 + testImplementation(deps.test.junit) 37 + androidTestImplementation(deps.uitest.junit) 38 + androidTestImplementation(deps.uitest.espresso) 39 + }
-42
feature_records/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - 18 - kotlinOptions { 19 - jvmTarget = JavaVersion.VERSION_1_8.toString() 20 - } 21 - } 22 - 23 - dependencies { 24 - implementation project(':domain') 25 - implementation project(':core') 26 - implementation project(':navigation') 27 - 28 - implementation deps.androidx.appcompat 29 - implementation deps.androidx.constraintlayout 30 - implementation deps.androidx.recyclerview 31 - implementation deps.androidx.cardView 32 - implementation deps.androidx.material 33 - implementation deps.google.dagger 34 - implementation deps.ktx.fragment 35 - implementation deps.ktx.livedata 36 - implementation deps.ktx.viewmodel 37 - kapt deps.kapt.dagger 38 - 39 - testImplementation deps.test.junit 40 - androidTestImplementation deps.uitest.junit 41 - androidTestImplementation deps.uitest.espresso 42 - }
+45
feature_records/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + 21 + kotlinOptions { 22 + jvmTarget = JavaVersion.VERSION_1_8.toString() 23 + } 24 + } 25 + 26 + dependencies { 27 + implementation(project(":domain")) 28 + implementation(project(":core")) 29 + implementation(project(":navigation")) 30 + 31 + implementation(deps.androidx.appcompat) 32 + implementation(deps.androidx.constraintlayout) 33 + implementation(deps.androidx.recyclerview) 34 + implementation(deps.androidx.cardView) 35 + implementation(deps.androidx.material) 36 + implementation(deps.google.dagger) 37 + implementation(deps.ktx.fragment) 38 + implementation(deps.ktx.livedata) 39 + implementation(deps.ktx.viewmodel) 40 + kapt(deps.kapt.dagger) 41 + 42 + testImplementation(deps.test.junit) 43 + androidTestImplementation(deps.uitest.junit) 44 + androidTestImplementation(deps.uitest.espresso) 45 + }
-42
feature_running_records/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - 18 - kotlinOptions { 19 - jvmTarget = JavaVersion.VERSION_1_8.toString() 20 - } 21 - } 22 - 23 - dependencies { 24 - implementation project(':domain') 25 - implementation project(':core') 26 - implementation project(':navigation') 27 - 28 - implementation deps.androidx.appcompat 29 - implementation deps.androidx.constraintlayout 30 - implementation deps.androidx.recyclerview 31 - implementation deps.androidx.cardView 32 - implementation deps.google.dagger 33 - implementation deps.google.flexBox 34 - implementation deps.ktx.fragment 35 - implementation deps.ktx.livedata 36 - implementation deps.ktx.viewmodel 37 - kapt deps.kapt.dagger 38 - 39 - testImplementation deps.test.junit 40 - androidTestImplementation deps.uitest.junit 41 - androidTestImplementation deps.uitest.espresso 42 - }
+45
feature_running_records/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + 21 + kotlinOptions { 22 + jvmTarget = JavaVersion.VERSION_1_8.toString() 23 + } 24 + } 25 + 26 + dependencies { 27 + implementation(project(":domain")) 28 + implementation(project(":core")) 29 + implementation(project(":navigation")) 30 + 31 + implementation(deps.androidx.appcompat) 32 + implementation(deps.androidx.constraintlayout) 33 + implementation(deps.androidx.recyclerview) 34 + implementation(deps.androidx.cardView) 35 + implementation(deps.google.dagger) 36 + implementation(deps.google.flexBox) 37 + implementation(deps.ktx.fragment) 38 + implementation(deps.ktx.livedata) 39 + implementation(deps.ktx.viewmodel) 40 + kapt(deps.kapt.dagger) 41 + 42 + testImplementation(deps.test.junit) 43 + androidTestImplementation(deps.uitest.junit) 44 + androidTestImplementation(deps.uitest.espresso) 45 + }
-40
feature_settings/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - 18 - kotlinOptions { 19 - jvmTarget = JavaVersion.VERSION_1_8.toString() 20 - } 21 - } 22 - 23 - dependencies { 24 - implementation project(':domain') 25 - implementation project(':core') 26 - implementation project(':navigation') 27 - 28 - implementation deps.androidx.appcompat 29 - implementation deps.androidx.constraintlayout 30 - implementation deps.androidx.material 31 - implementation deps.google.dagger 32 - implementation deps.ktx.fragment 33 - implementation deps.ktx.livedata 34 - implementation deps.ktx.viewmodel 35 - kapt deps.kapt.dagger 36 - 37 - testImplementation deps.test.junit 38 - androidTestImplementation deps.uitest.junit 39 - androidTestImplementation deps.uitest.espresso 40 - }
+43
feature_settings/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + 21 + kotlinOptions { 22 + jvmTarget = JavaVersion.VERSION_1_8.toString() 23 + } 24 + } 25 + 26 + dependencies { 27 + implementation(project(":domain")) 28 + implementation(project(":core")) 29 + implementation(project(":navigation")) 30 + 31 + implementation(deps.androidx.appcompat) 32 + implementation(deps.androidx.constraintlayout) 33 + implementation(deps.androidx.material) 34 + implementation(deps.google.dagger) 35 + implementation(deps.ktx.fragment) 36 + implementation(deps.ktx.livedata) 37 + implementation(deps.ktx.viewmodel) 38 + kapt(deps.kapt.dagger) 39 + 40 + testImplementation(deps.test.junit) 41 + androidTestImplementation(deps.uitest.junit) 42 + androidTestImplementation(deps.uitest.espresso) 43 + }
-42
feature_statistics/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - 18 - kotlinOptions { 19 - jvmTarget = JavaVersion.VERSION_1_8.toString() 20 - } 21 - } 22 - 23 - dependencies { 24 - implementation project(':domain') 25 - implementation project(':core') 26 - implementation project(':navigation') 27 - 28 - implementation deps.androidx.appcompat 29 - implementation deps.androidx.constraintlayout 30 - implementation deps.androidx.recyclerview 31 - implementation deps.androidx.cardView 32 - implementation deps.androidx.material 33 - implementation deps.google.dagger 34 - implementation deps.ktx.fragment 35 - implementation deps.ktx.livedata 36 - implementation deps.ktx.viewmodel 37 - kapt deps.kapt.dagger 38 - 39 - testImplementation deps.test.junit 40 - androidTestImplementation deps.uitest.junit 41 - androidTestImplementation deps.uitest.espresso 42 - }
+45
feature_statistics/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + 21 + kotlinOptions { 22 + jvmTarget = JavaVersion.VERSION_1_8.toString() 23 + } 24 + } 25 + 26 + dependencies { 27 + implementation(project(":domain")) 28 + implementation(project(":core")) 29 + implementation(project(":navigation")) 30 + 31 + implementation(deps.androidx.appcompat) 32 + implementation(deps.androidx.constraintlayout) 33 + implementation(deps.androidx.recyclerview) 34 + implementation(deps.androidx.cardView) 35 + implementation(deps.androidx.material) 36 + implementation(deps.google.dagger) 37 + implementation(deps.ktx.fragment) 38 + implementation(deps.ktx.livedata) 39 + implementation(deps.ktx.viewmodel) 40 + kapt(deps.kapt.dagger) 41 + 42 + testImplementation(deps.test.junit) 43 + androidTestImplementation(deps.uitest.junit) 44 + androidTestImplementation(deps.uitest.espresso) 45 + }
-42
feature_widget/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - 18 - kotlinOptions { 19 - jvmTarget = JavaVersion.VERSION_1_8.toString() 20 - } 21 - } 22 - 23 - dependencies { 24 - implementation project(':domain') 25 - implementation project(':core') 26 - 27 - implementation deps.androidx.appcompat 28 - implementation deps.androidx.recyclerview 29 - implementation deps.androidx.constraintlayout 30 - implementation deps.androidx.cardView 31 - implementation deps.androidx.material 32 - implementation deps.google.dagger 33 - implementation deps.google.flexBox 34 - implementation deps.ktx.fragment 35 - implementation deps.ktx.livedata 36 - implementation deps.ktx.viewmodel 37 - kapt deps.kapt.dagger 38 - 39 - testImplementation deps.test.junit 40 - androidTestImplementation deps.uitest.junit 41 - androidTestImplementation deps.uitest.espresso 42 - }
+45
feature_widget/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + 21 + kotlinOptions { 22 + jvmTarget = JavaVersion.VERSION_1_8.toString() 23 + } 24 + } 25 + 26 + dependencies { 27 + implementation(project(":domain")) 28 + implementation(project(":core")) 29 + 30 + implementation(deps.androidx.appcompat) 31 + implementation(deps.androidx.recyclerview) 32 + implementation(deps.androidx.constraintlayout) 33 + implementation(deps.androidx.cardView) 34 + implementation(deps.androidx.material) 35 + implementation(deps.google.dagger) 36 + implementation(deps.google.flexBox) 37 + implementation(deps.ktx.fragment) 38 + implementation(deps.ktx.livedata) 39 + implementation(deps.ktx.viewmodel) 40 + kapt(deps.kapt.dagger) 41 + 42 + testImplementation(deps.test.junit) 43 + androidTestImplementation(deps.uitest.junit) 44 + androidTestImplementation(deps.uitest.espresso) 45 + }
+2 -2
gradle/wrapper/gradle-wrapper.properties
··· 1 - #Sat May 02 07:30:42 MSK 2020 1 + #Sat Jun 13 11:47:12 MSK 2020 2 2 distributionBase=GRADLE_USER_HOME 3 3 distributionPath=wrapper/dists 4 4 zipStoreBase=GRADLE_USER_HOME 5 5 zipStorePath=wrapper/dists 6 - distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip 6 + distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
-35
navigation/build.gradle
··· 1 - apply from: "$rootDir/deps.gradle" 2 - 3 - apply plugin: 'com.android.library' 4 - apply plugin: 'kotlin-android' 5 - apply plugin: 'kotlin-android-extensions' 6 - apply plugin: 'kotlin-kapt' 7 - 8 - android { 9 - compileSdkVersion base.currentSDK 10 - 11 - defaultConfig { 12 - minSdkVersion base.minSDK 13 - targetSdkVersion base.currentSDK 14 - versionCode base.versionCode 15 - versionName base.versionName 16 - } 17 - 18 - kotlinOptions { 19 - jvmTarget = JavaVersion.VERSION_1_8.toString() 20 - } 21 - } 22 - 23 - dependencies { 24 - implementation project(':domain') 25 - implementation project(':core') 26 - 27 - implementation deps.google.dagger 28 - implementation deps.ktx.navigation_fragment 29 - implementation deps.ktx.navigation_ui 30 - kapt deps.kapt.dagger 31 - 32 - testImplementation deps.test.junit 33 - androidTestImplementation deps.uitest.junit 34 - androidTestImplementation deps.uitest.espresso 35 - }
+34
navigation/build.gradle.kts
··· 1 + import com.example.util.simpletimetracker.Base 2 + import com.example.util.simpletimetracker.deps 3 + 4 + plugins { 5 + id("com.android.library") 6 + id("kotlin-android") 7 + id("kotlin-android-extensions") 8 + id("kotlin-kapt") 9 + } 10 + 11 + android { 12 + compileSdkVersion(Base.currentSDK) 13 + 14 + defaultConfig { 15 + minSdkVersion(Base.minSDK) 16 + targetSdkVersion(Base.currentSDK) 17 + versionCode = Base.versionCode 18 + versionName = Base.versionName 19 + } 20 + } 21 + 22 + dependencies { 23 + implementation(project(":domain")) 24 + implementation(project(":core")) 25 + 26 + implementation(deps.google.dagger) 27 + implementation(deps.ktx.navigation_fragment) 28 + implementation(deps.ktx.navigation_ui) 29 + kapt(deps.kapt.dagger) 30 + 31 + testImplementation(deps.test.junit) 32 + androidTestImplementation(deps.uitest.junit) 33 + androidTestImplementation(deps.uitest.espresso) 34 + }
-15
settings.gradle
··· 1 - rootProject.name='Simple Time Tracker' 2 - include ':app' 3 - include ':domain' 4 - include ':core' 5 - include ':navigation' 6 - include ':data_local' 7 - include ':feature_main' 8 - include ':feature_running_records' 9 - include ':feature_change_record_type' 10 - include ':feature_records' 11 - include ':feature_change_record' 12 - include ':feature_statistics' 13 - include ':feature_dialogs' 14 - include ':feature_settings' 15 - include ':feature_widget'
+17
settings.gradle.kts
··· 1 + rootProject.name = "Simple Time Tracker" 2 + include( 3 + "app", 4 + "domain", 5 + "core", 6 + "navigation", 7 + "data_local", 8 + "feature_main", 9 + "feature_running_records", 10 + "feature_change_record_type", 11 + "feature_records", 12 + "feature_change_record", 13 + "feature_statistics", 14 + "feature_dialogs", 15 + "feature_settings", 16 + "feature_widget" 17 + )