Skip to content

Commit c4f6f1f

Browse files
Merge pull request #127 from dropbox/jfein/upgrade-gradle
Upgrade gradle and plugin version for library and sample app
2 parents a098042 + b6ca66c commit c4f6f1f

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
}
1010
}
1111
dependencies {
12-
classpath "com.android.tools.build:gradle:7.0.4"
12+
classpath "com.android.tools.build:gradle:7.1.2"
1313
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414
classpath("org.jlleitschuh.gradle:ktlint-gradle:10.2.0")
1515
classpath("org.jacoco:org.jacoco.core:0.8.7")

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6-bin.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip

sample/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.dropbox.detector.sample
2+
3+
import org.junit.Assert.assertEquals
4+
import org.junit.Test
5+
6+
/**
7+
* Example local unit test, which will execute on the development machine (host).
8+
*
9+
* See [testing documentation](http://d.android.com/tools/testing).
10+
*/
11+
class ExampleAndroidTest {
12+
@Test
13+
fun addition_isCorrect() {
14+
assertEquals(5, 2 + 2)
15+
}
16+
}

0 commit comments

Comments
 (0)