Skip to content

Commit 3a3cb53

Browse files
committed
change from ivy to mvn
1 parent 97a8f8f commit 3a3cb53

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

example/android/javalib/5-R8/build.mill

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ object app extends AndroidAppModule { // <2>
4646

4747
// Unit tests for the application
4848
object test extends AndroidAppTests with TestModule.Junit4 {
49-
def ivyDeps = super.ivyDeps() ++ Seq(
50-
ivy"junit:junit:4.13.2"
49+
def mvnDeps = super.mvnDeps() ++ Seq(
50+
mvn"junit:junit:4.13.2"
5151
)
5252
}
5353

@@ -60,15 +60,15 @@ object app extends AndroidAppModule { // <2>
6060
* conflicting classes with kotlinx-coroutines-core-jvm . Remove the exclusions once the dependency
6161
* resolution resolves conflicts between androidJvm and jvm platform types
6262
*/
63-
def ivyDeps = super.ivyDeps() ++ Seq(
64-
ivy"androidx.test.ext:junit:1.2.1".exclude(
63+
def mvnDeps = super.mvnDeps() ++ Seq(
64+
mvn"androidx.test.ext:junit:1.2.1".exclude(
6565
("org.jetbrains.kotlinx", "kotlinx-coroutines-core-jvm")
6666
),
67-
ivy"androidx.test:runner:1.6.2",
68-
ivy"androidx.test.espresso:espresso-core:3.5.1".exclude(
67+
mvn"androidx.test:runner:1.6.2",
68+
mvn"androidx.test.espresso:espresso-core:3.5.1".exclude(
6969
("org.jetbrains.kotlinx", "kotlinx-coroutines-core-jvm")
7070
),
71-
ivy"junit:junit:4.13.2"
71+
mvn"junit:junit:4.13.2"
7272
)
7373
}
7474

0 commit comments

Comments
 (0)