Skip to content
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
20 changes: 5 additions & 15 deletions anim-picker/build.gradle
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
}
}

apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'

android {
compileSdkVersion 'android-23'
buildToolsVersion '23.0.2'
compileSdkVersion 27

defaultConfig {
applicationId 'com.example.anvil.animpicker'
minSdkVersion 15
targetSdkVersion 23
targetSdkVersion 27
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -30,10 +19,11 @@ android {
}

repositories {
google()
mavenLocal()
jcenter()
}

dependencies {
compile 'co.trikita:anvil-sdk15:0.3.1'
implementation 'co.trikita:anvil-sdk15:0.5.0'
}
11 changes: 11 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.31"
}
}
18 changes: 10 additions & 8 deletions countdone/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.6'
}
Expand All @@ -14,12 +15,12 @@ apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'android-apt'

android {
compileSdkVersion 'android-23'
buildToolsVersion '23.0.2'
compileSdkVersion 27

defaultConfig {
applicationId 'com.example.anvil.countdone'
minSdkVersion 15
targetSdkVersion 23
targetSdkVersion 27
}

compileOptions {
Expand All @@ -33,19 +34,20 @@ android {
}

repositories {
google()
mavenLocal()
jcenter()
maven{url='https://jitpack.io'}
}

dependencies {
compile 'com.android.support:support-annotations:+'
implementation 'com.android.support:support-annotations:+'

compile 'co.trikita:anvil-sdk15:0.3.1'
compile 'com.github.trikita:jedux:-SNAPSHOT'
implementation 'co.trikita:anvil-sdk15:0.3.1'
implementation 'com.github.trikita:jedux:-SNAPSHOT'

apt 'org.immutables:value:2.1.14' // <-- for annotation processor
provided 'org.immutables:value:2.1.14' // <-- for annotation API

compile 'org.immutables:gson:2.1.14'
implementation 'org.immutables:gson:2.1.14'
}
18 changes: 5 additions & 13 deletions counter/build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
}
}

apply plugin: 'com.android.application'

android {
compileSdkVersion 'android-23'
buildToolsVersion '23.0.2'
compileSdkVersion 27

defaultConfig {
applicationId 'com.example.anvil.counter'
minSdkVersion 15
targetSdkVersion 23
targetSdkVersion 27
}

lintOptions {
Expand All @@ -24,10 +15,11 @@ android {
}

repositories {
google()
mavenLocal()
jcenter()
}

dependencies {
compile 'co.trikita:anvil-sdk15:0.3.1'
implementation 'co.trikita:anvil-sdk15:0.5.0'
}
24 changes: 7 additions & 17 deletions currency/build.gradle
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
}
}

apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'

android {
compileSdkVersion 'android-23'
buildToolsVersion '23.0.2'
compileSdkVersion 27

defaultConfig {
applicationId 'com.example.anvil.currency'
minSdkVersion 15
targetSdkVersion 23
targetSdkVersion 27
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -30,12 +19,13 @@ android {
}

repositories {
google()
mavenLocal()
jcenter()
}

dependencies {
compile 'co.trikita:anvil-sdk15:0.3.1'
compile 'com.squareup.okhttp:okhttp:+'
compile 'com.google.code.gson:gson:+'
implementation 'co.trikita:anvil-sdk15:0.5.0'
implementation 'com.squareup.okhttp:okhttp:+'
implementation 'com.google.code.gson:gson:+'
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
18 changes: 5 additions & 13 deletions hello/build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
}
}

apply plugin: 'com.android.application'

android {
compileSdkVersion 'android-23'
buildToolsVersion '23.0.2'
compileSdkVersion 27

defaultConfig {
applicationId 'com.example.anvil.hello'
minSdkVersion 15
targetSdkVersion 23
targetSdkVersion 27
}

lintOptions {
Expand All @@ -24,10 +15,11 @@ android {
}

repositories {
google()
mavenLocal()
jcenter()
}

dependencies {
compile 'co.trikita:anvil-sdk15:0.3.1'
implementation 'co.trikita:anvil-sdk15:0.5.0'
}
19 changes: 4 additions & 15 deletions login/build.gradle
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
}
}

apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'

android {
compileSdkVersion 'android-23'
buildToolsVersion '23.0.2'
compileSdkVersion 27
defaultConfig {
applicationId 'com.example.anvil.login'
minSdkVersion 15
targetSdkVersion 23
targetSdkVersion 27
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -30,10 +18,11 @@ android {
}

repositories {
google()
mavenLocal()
jcenter()
}

dependencies {
compile 'co.trikita:anvil-sdk15:0.3.1'
implementation 'co.trikita:anvil-sdk15:0.5.0'
}
20 changes: 5 additions & 15 deletions todo-java8/build.gradle
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'me.tatarka:gradle-retrolambda:3.2.5'
}
}

apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'

android {
compileSdkVersion 'android-23'
buildToolsVersion '23.0.2'
compileSdkVersion 27

defaultConfig {
applicationId 'com.example.anvil.todo'
minSdkVersion 15
targetSdkVersion 23
targetSdkVersion 27
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -30,10 +19,11 @@ android {
}

repositories {
google()
mavenLocal()
jcenter()
}

dependencies {
compile 'co.trikita:anvil-sdk15:0.3.1'
implementation 'co.trikita:anvil-sdk15:0.5.0'
}
20 changes: 5 additions & 15 deletions todo-kotlin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,34 +1,24 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:+'
}
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

repositories {
google()
mavenLocal()
jcenter()
}

dependencies {
compile 'org.jetbrains.kotlin:kotlin-stdlib:+'
compile 'co.trikita:anvil-sdk15:0.3.1'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.3.31'
implementation 'co.trikita:anvil-sdk15:0.5.0'
}

android {
compileSdkVersion 'android-23'
buildToolsVersion '23.0.2'
compileSdkVersion 27

defaultConfig {
applicationId 'com.example.anvil.todo'
minSdkVersion 15
targetSdkVersion 23
targetSdkVersion 27
}

sourceSets {
Expand Down
18 changes: 5 additions & 13 deletions todo/build.gradle
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
}
}

apply plugin: 'com.android.application'

android {
compileSdkVersion 'android-23'
buildToolsVersion '23.0.2'
compileSdkVersion 27

defaultConfig {
applicationId 'com.example.anvil.todo'
minSdkVersion 15
targetSdkVersion 23
targetSdkVersion 27
}

lintOptions {
Expand All @@ -24,10 +15,11 @@ android {
}

repositories {
google()
mavenLocal()
jcenter()
}

dependencies {
compile 'co.trikita:anvil-sdk15:0.3.1'
implementation 'co.trikita:anvil-sdk15:0.5.0'
}