From 12046b7ed720349be738fae8864183b58e1221a3 Mon Sep 17 00:00:00 2001 From: carmas123 Date: Tue, 23 May 2017 21:04:57 +0200 Subject: [PATCH 1/6] First commit with updates component e Mike Penz Material Drawer e Materialize --- README.md | 2 + cookiecutter.json | 2 + {{cookiecutter.repo_name}}/app/build.gradle | 58 +++++++++++++-------- {{cookiecutter.repo_name}}/build.gradle | 6 +-- 4 files changed, 42 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 5e982da..030d739 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,8 @@ It includes libraries - [Crashlytics](https://try.crashlytics.com/) - [Realm](https://realm.io/) - [Picasso](http://square.github.io/picasso/) +- [Materialize](https://github.com/mikepenz/Materialize) +- [MaterialDrawer](https://github.com/mikepenz/MaterialDrawer) **You can choose which library you want to include in your project** diff --git a/cookiecutter.json b/cookiecutter.json index 8ca1efc..3b5c499 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -12,5 +12,7 @@ "retrofit": "n", "realm": "n", "picasso": "n", + "materialize": "n", + "material_drawer": "n", "kotlin_android_extensions": "n" } diff --git a/{{cookiecutter.repo_name}}/app/build.gradle b/{{cookiecutter.repo_name}}/app/build.gradle index cefc587..9084263 100644 --- a/{{cookiecutter.repo_name}}/app/build.gradle +++ b/{{cookiecutter.repo_name}}/app/build.gradle @@ -29,7 +29,7 @@ repositories { android { compileSdkVersion rootProject.ext.compileSdkVersion - buildToolsVersion "25.0.3" + buildToolsVersion "26.0.0-rc2" defaultConfig { applicationId "{{ cookiecutter.package_name }}" @@ -58,55 +58,67 @@ android { } dependencies { - compile fileTree(dir: 'libs', include: ['*.jar']) + implementation fileTree(dir: 'libs', include: ['*.jar']) //supportLib - compile rootProject.ext.supportLib - compile rootProject.ext.supportLibAppCompat - compile rootProject.ext.supportLibDesign - compile rootProject.ext.supportLibRecyclerview - compile rootProject.ext.supportLibCardview + implementation rootProject.ext.supportLib + implementation rootProject.ext.supportLibAppCompat + implementation rootProject.ext.supportLibDesign + implementation rootProject.ext.supportLibRecyclerview + implementation rootProject.ext.supportLibCardview //timber - compile rootProject.ext.timber + implementation rootProject.ext.timber //crashlytics - compile (rootProject.ext.crashlytics){ + implementation (rootProject.ext.crashlytics){ transitive = true; } //di - compile rootProject.ext.dagger + implementation rootProject.ext.dagger kapt rootProject.ext.daggerApt - //compile rootProject.ext.daggerSupport + //implementation rootProject.ext.daggerSupport //annotationProcessor rootProject.ext.daggerAnnotation //rx - compile rootProject.ext.rxJava - compile rootProject.ext.rxAndroid - compile rootProject.ext.rxKotlin + implementation rootProject.ext.rxJava + implementation rootProject.ext.rxAndroid + implementation rootProject.ext.rxKotlin {% if cookiecutter.retrofit == "y" %} //net - compile rootProject.ext.retrofit - compile rootProject.ext.okHttp - compile rootProject.ext.gson - compile rootProject.ext.rxJavaAdapter - compile rootProject.ext.gsonConverter + implementation rootProject.ext.retrofit + implementation rootProject.ext.okHttp + implementation rootProject.ext.gson + implementation rootProject.ext.rxJavaAdapter + implementation rootProject.ext.gsonConverter {% endif %} {% if cookiecutter.picasso == "y" %} //picasso - compile rootProject.ext.picasso + implementation rootProject.ext.picasso + {% endif %} + + {% if cookiecutter.materialize == "y" %} + // Mike Penz - Materialize + implementation "com.mikepenz:materialize:1.0.1@aar" + {% endif %} + + {% if cookiecutter.material_drawer == "y" %} + // Mike Penz - Material Drawer + implementation('com.mikepenz:materialdrawer:5.9.1@aar') { + transitive = true + } {% endif %} //test - testCompile 'junit:junit:4.12' - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { + testimplementation 'junit:junit:4.12' + androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.google.code.findbugs' }) - compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" + implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" } repositories { mavenCentral() diff --git a/{{cookiecutter.repo_name}}/build.gradle b/{{cookiecutter.repo_name}}/build.gradle index eedbd37..fbcc028 100644 --- a/{{cookiecutter.repo_name}}/build.gradle +++ b/{{cookiecutter.repo_name}}/build.gradle @@ -1,13 +1,13 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.1.2-3' + ext.kotlin_version = '1.1.2-4' repositories { maven { url 'https://maven.google.com' } jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.3.2' + classpath 'com.android.tools.build:gradle:3.0.0-alpha1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" {% if cookiecutter.realm == "y" %} classpath "io.realm:realm-gradle-plugin:3.1.1" @@ -27,7 +27,7 @@ allprojects { ext{ - buildToolsVersion = '25.0.2' + buildToolsVersion = '26.0.0-rc2' compileSdkVersion = {{ cookiecutter.target_sdk }} targetSdkVersion = {{ cookiecutter.target_sdk }} minSdkVersion = {{ cookiecutter.min_sdk }} From 27b2db9a318540504b6e8e1e851f452d586347e0 Mon Sep 17 00:00:00 2001 From: carmas123 Date: Tue, 23 May 2017 21:17:07 +0200 Subject: [PATCH 2/6] First commit with updates component e Mike Penz Material Drawer e Materialize --- README.md | 1 + cookiecutter.json | 2 +- {{cookiecutter.repo_name}}/app/build.gradle | 10 +++++++--- {{cookiecutter.repo_name}}/build.gradle | 13 +++++++++++++ 4 files changed, 22 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 030d739..f2df9a3 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ It includes libraries - [Picasso](http://square.github.io/picasso/) - [Materialize](https://github.com/mikepenz/Materialize) - [MaterialDrawer](https://github.com/mikepenz/MaterialDrawer) +- [Glide](https://github.com/bumptech/glide) **You can choose which library you want to include in your project** diff --git a/cookiecutter.json b/cookiecutter.json index 3b5c499..0687355 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -11,7 +11,7 @@ "splash_screen": "n", "retrofit": "n", "realm": "n", - "picasso": "n", + "image_downloader": ["none", "picasso", "glide"], "materialize": "n", "material_drawer": "n", "kotlin_android_extensions": "n" diff --git a/{{cookiecutter.repo_name}}/app/build.gradle b/{{cookiecutter.repo_name}}/app/build.gradle index 9084263..69bf110 100644 --- a/{{cookiecutter.repo_name}}/app/build.gradle +++ b/{{cookiecutter.repo_name}}/app/build.gradle @@ -95,19 +95,23 @@ dependencies { implementation rootProject.ext.gsonConverter {% endif %} - {% if cookiecutter.picasso == "y" %} + {% if cookiecutter.image_downloader == "picasso" %} //picasso implementation rootProject.ext.picasso + {% elif cookiecutter.image_downloader == "glide" %} + //glide + implementation rootProject.ext.glide + implementation rootProject.ext.glideAnnotation {% endif %} {% if cookiecutter.materialize == "y" %} // Mike Penz - Materialize - implementation "com.mikepenz:materialize:1.0.1@aar" + implementation rootProject.ext.materialize {% endif %} {% if cookiecutter.material_drawer == "y" %} // Mike Penz - Material Drawer - implementation('com.mikepenz:materialdrawer:5.9.1@aar') { + implementation(rootProject.ext.materialDrawer) { transitive = true } {% endif %} diff --git a/{{cookiecutter.repo_name}}/build.gradle b/{{cookiecutter.repo_name}}/build.gradle index fbcc028..5e101e3 100644 --- a/{{cookiecutter.repo_name}}/build.gradle +++ b/{{cookiecutter.repo_name}}/build.gradle @@ -43,6 +43,9 @@ ext{ picassoVersion = '2.5.2' crashlyticsVersion = '2.6.8' gsonVersion = '2.8.0' + glideVersion = '4.0.0-RC0' + materializeVersion = '1.0.1' + materialDrawerVersion = '5.9.1' //supportLib supportLib = "com.android.support:support-v4:$supportLibVersion" @@ -81,6 +84,16 @@ ext{ //picasso picasso = "com.squareup.picasso:picasso:$picassoVersion" + //materialize + materialize = "com.mikepenz:materialize:$materializeVersion@aar" + + //materialDrawer + materialDrawer = "com.mikepenz:materialdrawer:$materialDrawerVersion@aar" + + //glide + glide = "com.github.bumptech.glide:glide:$glideVersion" + glideAnnotation = "com.github.bumptech.glide:compiler:$glideVersion" + buildTime = new Date().format("yyyy-MM-dd'T'HH:mm'Z'", TimeZone.getTimeZone("UTC")) } From d5431340325c501308746617b2a91f32347c9282 Mon Sep 17 00:00:00 2001 From: carmas123 Date: Tue, 23 May 2017 21:21:12 +0200 Subject: [PATCH 3/6] Fix testimplementation to testImplementation --- {{cookiecutter.repo_name}}/app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.repo_name}}/app/build.gradle b/{{cookiecutter.repo_name}}/app/build.gradle index 69bf110..012644c 100644 --- a/{{cookiecutter.repo_name}}/app/build.gradle +++ b/{{cookiecutter.repo_name}}/app/build.gradle @@ -117,7 +117,7 @@ dependencies { {% endif %} //test - testimplementation 'junit:junit:4.12' + testImplementation 'junit:junit:4.12' androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' exclude group: 'com.google.code.findbugs' From 25a75481e079074ffd54a30adb71774c08cf5619 Mon Sep 17 00:00:00 2001 From: carmas123 Date: Tue, 23 May 2017 21:32:34 +0200 Subject: [PATCH 4/6] Added Kotlin AnKo and Fabric API code --- README.md | 1 + cookiecutter.json | 4 +++- {{cookiecutter.repo_name}}/app/build.gradle | 15 +++++++++++++++ .../app/src/main/AndroidManifest.xml | 2 +- {{cookiecutter.repo_name}}/build.gradle | 15 +++++++++++++++ 5 files changed, 35 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f2df9a3..aec530f 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ It includes libraries - [Materialize](https://github.com/mikepenz/Materialize) - [MaterialDrawer](https://github.com/mikepenz/MaterialDrawer) - [Glide](https://github.com/bumptech/glide) +- [AnKo](https://github.com/Kotlin/anko) **You can choose which library you want to include in your project** diff --git a/cookiecutter.json b/cookiecutter.json index 0687355..9388c94 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -8,11 +8,13 @@ "author": "General Mobile", "email": "generalmobiledev@gmail.com", "version": "1.0.0", + "fabric_api": "", "splash_screen": "n", "retrofit": "n", "realm": "n", "image_downloader": ["none", "picasso", "glide"], "materialize": "n", "material_drawer": "n", - "kotlin_android_extensions": "n" + "kotlin_android_extensions": "n", + "kotlin_anko": "n" } diff --git a/{{cookiecutter.repo_name}}/app/build.gradle b/{{cookiecutter.repo_name}}/app/build.gradle index 012644c..5f0aff9 100644 --- a/{{cookiecutter.repo_name}}/app/build.gradle +++ b/{{cookiecutter.repo_name}}/app/build.gradle @@ -116,6 +116,21 @@ dependencies { } {% endif %} + {% if cookiecutter.kotlin_anko == "y" %} + ankoCommonV4Support = "org.jetbrains.anko:anko-support-v4:$ankoVersion" + ankoCommonV4SupportCommon = "org.jetbrains.anko:anko-support-v4-commons:$ankoVersion" + ankoCommon = "org.jetbrains.anko:anko-appcompat-v7-commons:$ankoVersion" + ankoCompat = "org.jetbrains.anko:anko-appcompat-v7:$ankoVersion" + ankoCompatCoroutines = "org.jetbrains.anko:anko-coroutines:$ankoVersion" + ankoCardView = "org.jetbrains.anko:anko-cardview-v7:$ankoVersion" + ankoDesign = "org.jetbrains.anko:anko-design:$ankoVersion" + ankoDesignCoroutines = "org.jetbrains.anko:anko-design-coroutines:$ankoVersion" + ankoGridLayout = "org.jetbrains.anko:anko-gridlayout-v7:$ankoVersion" + ankoPercent = "org.jetbrains.anko:anko-percent:$ankoVersion" + ankoRecyclerView = "org.jetbrains.anko:anko-recyclerview-v7:$ankoVersion" + ankoRecyclerViewCoroutines = "org.jetbrains.anko:anko-recyclerview-v7-coroutines:$ankoVersion" + {% endif %} + //test testImplementation 'junit:junit:4.12' androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { diff --git a/{{cookiecutter.repo_name}}/app/src/main/AndroidManifest.xml b/{{cookiecutter.repo_name}}/app/src/main/AndroidManifest.xml index 9f2fab0..d1700a5 100644 --- a/{{cookiecutter.repo_name}}/app/src/main/AndroidManifest.xml +++ b/{{cookiecutter.repo_name}}/app/src/main/AndroidManifest.xml @@ -39,7 +39,7 @@ + android:value="{{ cookiecutter.fabric_api }}" /> diff --git a/{{cookiecutter.repo_name}}/build.gradle b/{{cookiecutter.repo_name}}/build.gradle index 5e101e3..c5ae5f9 100644 --- a/{{cookiecutter.repo_name}}/build.gradle +++ b/{{cookiecutter.repo_name}}/build.gradle @@ -46,6 +46,7 @@ ext{ glideVersion = '4.0.0-RC0' materializeVersion = '1.0.1' materialDrawerVersion = '5.9.1' + ankoVersion = '0.10' //supportLib supportLib = "com.android.support:support-v4:$supportLibVersion" @@ -94,6 +95,20 @@ ext{ glide = "com.github.bumptech.glide:glide:$glideVersion" glideAnnotation = "com.github.bumptech.glide:compiler:$glideVersion" + //kotlin-anko + ankoCommonV4Support = "org.jetbrains.anko:anko-support-v4:$ankoVersion" + ankoCommonV4SupportCommon = "org.jetbrains.anko:anko-support-v4-commons:$ankoVersion" + ankoCommon = "org.jetbrains.anko:anko-appcompat-v7-commons:$ankoVersion" + ankoCompat = "org.jetbrains.anko:anko-appcompat-v7:$ankoVersion" + ankoCompatCoroutines = "org.jetbrains.anko:anko-coroutines:$ankoVersion" + ankoCardView = "org.jetbrains.anko:anko-cardview-v7:$ankoVersion" + ankoDesign = "org.jetbrains.anko:anko-design:$ankoVersion" + ankoDesignCoroutines = "org.jetbrains.anko:anko-design-coroutines:$ankoVersion" + ankoGridLayout = "org.jetbrains.anko:anko-gridlayout-v7:$ankoVersion" + ankoPercent = "org.jetbrains.anko:anko-percent:$ankoVersion" + ankoRecyclerView = "org.jetbrains.anko:anko-recyclerview-v7:$ankoVersion" + ankoRecyclerViewCoroutines = "org.jetbrains.anko:anko-recyclerview-v7-coroutines:$ankoVersion" + buildTime = new Date().format("yyyy-MM-dd'T'HH:mm'Z'", TimeZone.getTimeZone("UTC")) } From 63d6e800b932af2edc60f19beacd383c7d2bfa65 Mon Sep 17 00:00:00 2001 From: carmas123 Date: Fri, 26 May 2017 10:47:07 +0200 Subject: [PATCH 5/6] Added Android Architecture and Room Persistence. --- cookiecutter.json | 4 ++- {{cookiecutter.repo_name}}/app/build.gradle | 39 ++++++++++++++------- {{cookiecutter.repo_name}}/build.gradle | 13 ++++++- 3 files changed, 42 insertions(+), 14 deletions(-) diff --git a/cookiecutter.json b/cookiecutter.json index 9388c94..fd3d0ed 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -16,5 +16,7 @@ "materialize": "n", "material_drawer": "n", "kotlin_android_extensions": "n", - "kotlin_anko": "n" + "kotlin_anko": "n", + "architecture": "s", + "room": "s" } diff --git a/{{cookiecutter.repo_name}}/app/build.gradle b/{{cookiecutter.repo_name}}/app/build.gradle index 5f0aff9..f0f8abd 100644 --- a/{{cookiecutter.repo_name}}/app/build.gradle +++ b/{{cookiecutter.repo_name}}/app/build.gradle @@ -117,18 +117,33 @@ dependencies { {% endif %} {% if cookiecutter.kotlin_anko == "y" %} - ankoCommonV4Support = "org.jetbrains.anko:anko-support-v4:$ankoVersion" - ankoCommonV4SupportCommon = "org.jetbrains.anko:anko-support-v4-commons:$ankoVersion" - ankoCommon = "org.jetbrains.anko:anko-appcompat-v7-commons:$ankoVersion" - ankoCompat = "org.jetbrains.anko:anko-appcompat-v7:$ankoVersion" - ankoCompatCoroutines = "org.jetbrains.anko:anko-coroutines:$ankoVersion" - ankoCardView = "org.jetbrains.anko:anko-cardview-v7:$ankoVersion" - ankoDesign = "org.jetbrains.anko:anko-design:$ankoVersion" - ankoDesignCoroutines = "org.jetbrains.anko:anko-design-coroutines:$ankoVersion" - ankoGridLayout = "org.jetbrains.anko:anko-gridlayout-v7:$ankoVersion" - ankoPercent = "org.jetbrains.anko:anko-percent:$ankoVersion" - ankoRecyclerView = "org.jetbrains.anko:anko-recyclerview-v7:$ankoVersion" - ankoRecyclerViewCoroutines = "org.jetbrains.anko:anko-recyclerview-v7-coroutines:$ankoVersion" + // Anko + implementation rootProject.ext.ankoCommonV4Support + implementation rootProject.ext.ankoCommonV4SupportCommon + implementation rootProject.ext.ankoCommon + implementation rootProject.ext.ankoCompat + implementation rootProject.ext.ankoCompatCoroutines + implementation rootProject.ext.ankoCardView + implementation rootProject.ext.ankoDesign + implementation rootProject.ext.ankoDesignCoroutines + implementation rootProject.ext.ankoGridLayout + implementation rootProject.ext.ankoPercent + implementation rootProject.ext.ankoRecyclerView + implementation rootProject.ext.ankoRecyclerViewCoroutines + {% endif %} + + //lifecycles, licedata, viewmodel + {% if cookiecutter.architecture == "y" %} + implementation rootProject.ext.architectureLifecycleRuntime = "android.arch.lifecycle:runtime:$architectureVersion" + implementation rootProject.ext.architectureLifecycleExtensions = "android.arch.lifecycle:extensions:$architectureVersion" + annotationProcessor rootProject.ext.architectureLifecycleAnnotation = "android.arch.lifecycle:compiler:$architectureVersion" + + {% if cookiecutter.room == "y" %} + //room + implementation rootProject.ext.roomRuntime + implementation rootProject.ext.roomRx + annotationProcessor rootProject.ext.roomAnnotation + {% endif %} {% endif %} //test diff --git a/{{cookiecutter.repo_name}}/build.gradle b/{{cookiecutter.repo_name}}/build.gradle index c5ae5f9..af7ccd0 100644 --- a/{{cookiecutter.repo_name}}/build.gradle +++ b/{{cookiecutter.repo_name}}/build.gradle @@ -32,7 +32,7 @@ ext{ targetSdkVersion = {{ cookiecutter.target_sdk }} minSdkVersion = {{ cookiecutter.min_sdk }} - supportLibVersion = '25.3.1' + supportLibVersion = '6.0.0-alpha1' rxJavaVersion = '2.0.1' rxKotlinVersion = '2.0.3' timberVersion = '4.5.1' @@ -47,6 +47,7 @@ ext{ materializeVersion = '1.0.1' materialDrawerVersion = '5.9.1' ankoVersion = '0.10' + architectureVersion = '1.0.0-alpha1' //supportLib supportLib = "com.android.support:support-v4:$supportLibVersion" @@ -109,6 +110,16 @@ ext{ ankoRecyclerView = "org.jetbrains.anko:anko-recyclerview-v7:$ankoVersion" ankoRecyclerViewCoroutines = "org.jetbrains.anko:anko-recyclerview-v7-coroutines:$ankoVersion" + //architecture + architectureLifecycleRuntime = "android.arch.lifecycle:runtime:$architectureVersion" + architectureLifecycleExtensions = "android.arch.lifecycle:extensions:$architectureVersion" + architectureLifecycleAnnotation = "android.arch.lifecycle:compiler:$architectureVersion" + + //room + roomRuntime = "android.arch.persistence.room:runtime:$architectureVersion" + roomAnnotation = "android.arch.persistence.room:compiler:$architectureVersion" + roomRx = "android.arch.persistence:room.room:rxjava2:$architectureVersion" + buildTime = new Date().format("yyyy-MM-dd'T'HH:mm'Z'", TimeZone.getTimeZone("UTC")) } From 0622163c84d315136698c321fb40d560a4c4447a Mon Sep 17 00:00:00 2001 From: carmas123 Date: Fri, 26 May 2017 10:53:01 +0200 Subject: [PATCH 6/6] Added Parceler --- README.md | 1 + cookiecutter.json | 3 ++- {{cookiecutter.repo_name}}/app/build.gradle | 9 ++++++++- {{cookiecutter.repo_name}}/build.gradle | 5 +++++ 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aec530f..9af5e03 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ It includes libraries - [MaterialDrawer](https://github.com/mikepenz/MaterialDrawer) - [Glide](https://github.com/bumptech/glide) - [AnKo](https://github.com/Kotlin/anko) +- [Parceler](https://github.com/johncarl81/parceler) **You can choose which library you want to include in your project** diff --git a/cookiecutter.json b/cookiecutter.json index fd3d0ed..412d552 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -18,5 +18,6 @@ "kotlin_android_extensions": "n", "kotlin_anko": "n", "architecture": "s", - "room": "s" + "room": "s", + "parceler": "n" } diff --git a/{{cookiecutter.repo_name}}/app/build.gradle b/{{cookiecutter.repo_name}}/app/build.gradle index f0f8abd..acd2720 100644 --- a/{{cookiecutter.repo_name}}/app/build.gradle +++ b/{{cookiecutter.repo_name}}/app/build.gradle @@ -139,13 +139,20 @@ dependencies { annotationProcessor rootProject.ext.architectureLifecycleAnnotation = "android.arch.lifecycle:compiler:$architectureVersion" {% if cookiecutter.room == "y" %} - //room + // Room implementation rootProject.ext.roomRuntime implementation rootProject.ext.roomRx annotationProcessor rootProject.ext.roomAnnotation {% endif %} {% endif %} + + {% if cookiecutter.parceler == "y" %} + // Parceler + implementation rootProject.ext.parcelerAPI + annotationProcessor rootProject.ext.parcelerAnnotation + {% endif %} + //test testImplementation 'junit:junit:4.12' androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', { diff --git a/{{cookiecutter.repo_name}}/build.gradle b/{{cookiecutter.repo_name}}/build.gradle index af7ccd0..fe53ccc 100644 --- a/{{cookiecutter.repo_name}}/build.gradle +++ b/{{cookiecutter.repo_name}}/build.gradle @@ -48,6 +48,7 @@ ext{ materialDrawerVersion = '5.9.1' ankoVersion = '0.10' architectureVersion = '1.0.0-alpha1' + parcelerVersion = '1.1.8' //supportLib supportLib = "com.android.support:support-v4:$supportLibVersion" @@ -120,6 +121,10 @@ ext{ roomAnnotation = "android.arch.persistence.room:compiler:$architectureVersion" roomRx = "android.arch.persistence:room.room:rxjava2:$architectureVersion" + //parceler + parcelerAPI = "org.parceler:parceler-api:$parcelerVersion" + parcelerAnnotation = "org.parceler:parceler:$parcelerVersion" + buildTime = new Date().format("yyyy-MM-dd'T'HH:mm'Z'", TimeZone.getTimeZone("UTC")) }