Skip to content

Commit a62ea82

Browse files
committed
xorum-io#2; Update gradle files.
1 parent b98741a commit a62ea82

File tree

2 files changed

+34
-36
lines changed

2 files changed

+34
-36
lines changed

app/build.gradle

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -79,30 +79,28 @@ android {
7979
apply plugin: 'com.getkeepsafe.dexcount'
8080

8181
dependencies {
82-
compile fileTree(dir: 'libs', include: ['*.jar'])
83-
84-
proprietaryCompile('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') {
82+
proprietaryImplementation('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') {
8583
transitive = true
8684
}
8785

88-
compile 'androidx.legacy:legacy-support-v4:1.0.0'
89-
compile 'androidx.appcompat:appcompat:1.0.0'
90-
compile 'com.google.android.material:material:1.0.0'
91-
compile 'com.jakewharton:butterknife:10.2.3' // View annotation bindings
86+
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
87+
implementation 'androidx.appcompat:appcompat:1.0.0'
88+
implementation 'com.google.android.material:material:1.0.0'
89+
implementation 'com.jakewharton:butterknife:10.2.3' // View annotation bindings
9290
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3' // ButterKnife compiler
93-
compile 'com.google.dagger:dagger:2.11' // Dependency injection tool
94-
compile 'com.github.PhilJay:MPAndroidChart:v2.2.4' // Charts
95-
compile 'com.jakewharton.timber:timber:4.1.2' // Advanced logging tool
96-
compile 'androidx.constraintlayout:constraintlayout:1.1.3'
97-
compile 'com.dropbox.core:dropbox-core-sdk:3.0.5' // Dropbox Core API
91+
implementation 'com.google.dagger:dagger:2.11' // Dependency injection tool
92+
implementation 'com.github.PhilJay:MPAndroidChart:v2.2.4' // Charts
93+
implementation 'com.jakewharton.timber:timber:4.1.2' // Advanced logging tool
94+
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
95+
implementation 'com.dropbox.core:dropbox-core-sdk:3.0.5' // Dropbox Core API
9896

99-
testCompile 'junit:junit:4.12'
100-
testCompile 'org.mockito:mockito-core:2.8.9'
101-
androidTestCompile 'com.crittercism.dexmaker:dexmaker:1.4'
102-
androidTestCompile 'com.crittercism.dexmaker:dexmaker-dx:1.4'
103-
androidTestCompile 'com.crittercism.dexmaker:dexmaker-mockito:1.4'
97+
testImplementation 'junit:junit:4.12'
98+
testImplementation 'org.mockito:mockito-core:2.8.9'
99+
androidTestImplementation 'com.crittercism.dexmaker:dexmaker:1.4'
100+
androidTestImplementation 'com.crittercism.dexmaker:dexmaker-dx:1.4'
101+
androidTestImplementation 'com.crittercism.dexmaker:dexmaker-mockito:1.4'
104102
annotationProcessor 'com.google.dagger:dagger-compiler:2.11'
105-
provided 'org.glassfish:javax.annotation:10.0-b28'
106-
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
103+
compileOnly 'org.glassfish:javax.annotation:10.0-b28'
104+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
107105
implementation 'androidx.cardview:cardview:1.0.0'
108106
}

build.gradle

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
buildscript {
22
ext.kotlin_version = '1.3.10'
33
repositories {
4-
google()
5-
jcenter()
6-
}
7-
dependencies {
8-
classpath 'com.android.tools.build:gradle:3.5.0'
9-
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
10-
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.2'
11-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12-
}
4+
google()
5+
jcenter()
6+
}
7+
dependencies {
8+
classpath 'com.android.tools.build:gradle:3.5.0'
9+
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
10+
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.6.2'
11+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12+
}
1313
}
1414

1515
allprojects {
16-
repositories {
17-
google()
18-
jcenter()
19-
mavenCentral()
20-
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
21-
maven { url "https://jitpack.io" }
22-
maven { url "https://maven.google.com" }
23-
}
16+
repositories {
17+
google()
18+
jcenter()
19+
mavenCentral()
20+
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
21+
maven { url "https://jitpack.io" }
22+
maven { url "https://maven.google.com" }
23+
}
2424
}

0 commit comments

Comments
 (0)