File tree 16 files changed +16
-21
lines changed
src/main/java/com/example/crane/buildsrc
16 files changed +16
-21
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,12 @@ dependencies {
107
107
implementation Libs.Kotlin.Coroutines . android
108
108
implementation Libs.GoogleMaps . maps
109
109
implementation Libs.GoogleMaps . mapsKtx
110
+ constraints {
111
+ // Volley is a transitive dependency of maps
112
+ implementation(Libs.Volley . volley) {
113
+ because(" Only volley 1.2.0 or newer are available on maven.google.com" )
114
+ }
115
+ }
110
116
111
117
implementation Libs.Accompanist . coil
112
118
implementation Libs.Accompanist . insets
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import com.example.crane.buildsrc.Versions
21
21
buildscript {
22
22
repositories {
23
23
google()
24
- jcenter()
25
24
}
26
25
dependencies {
27
26
classpath Libs . androidGradlePlugin
@@ -37,7 +36,6 @@ plugins {
37
36
subprojects {
38
37
repositories {
39
38
google()
40
- jcenter()
41
39
mavenCentral()
42
40
43
41
if (! Libs.AndroidX.Compose . snapshot. isEmpty()) {
Original file line number Diff line number Diff line change 17
17
import org.gradle.kotlin.dsl.`kotlin-dsl`
18
18
19
19
repositories {
20
- jcenter ()
20
+ mavenCentral ()
21
21
}
22
22
23
23
plugins {
Original file line number Diff line number Diff line change @@ -29,6 +29,10 @@ object Libs {
29
29
const val mapsKtx = " com.google.maps.android:maps-v3-ktx:2.2.0"
30
30
}
31
31
32
+ object Volley {
33
+ const val volley = " com.android.volley:volley:1.2.0"
34
+ }
35
+
32
36
object Accompanist {
33
37
const val version = " 0.11.0"
34
38
const val coil = " com.google.accompanist:accompanist-coil:$version "
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ buildscript {
23
23
repositories {
24
24
google()
25
25
mavenCentral()
26
- jcenter()
27
26
}
28
27
29
28
dependencies {
@@ -40,7 +39,6 @@ subprojects {
40
39
repositories {
41
40
google()
42
41
mavenCentral()
43
- jcenter()
44
42
}
45
43
46
44
apply plugin : ' com.diffplug.spotless'
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ buildscript {
21
21
repositories {
22
22
google()
23
23
mavenCentral()
24
- jcenter()
25
24
}
26
25
27
26
dependencies {
@@ -38,7 +37,6 @@ subprojects {
38
37
repositories {
39
38
google()
40
39
mavenCentral()
41
- jcenter()
42
40
43
41
// Jetpack Compose SNAPSHOTs
44
42
if (! Libs.AndroidX.Compose . snapshot. isEmpty()) {
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
repositories {
18
- jcenter ()
18
+ mavenCentral ()
19
19
}
20
20
21
21
plugins {
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ buildscript {
23
23
repositories {
24
24
google()
25
25
mavenCentral()
26
- jcenter()
27
26
}
28
27
29
28
dependencies {
@@ -40,7 +39,6 @@ subprojects {
40
39
repositories {
41
40
google()
42
41
mavenCentral()
43
- jcenter()
44
42
45
43
if (! Libs.AndroidX.Compose . snapshot. isEmpty()) {
46
44
maven { url Urls . composeSnapshotRepo }
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ buildscript {
21
21
repositories {
22
22
google()
23
23
mavenCentral()
24
- jcenter()
25
24
}
26
25
dependencies {
27
26
classpath Libs . androidGradlePlugin
@@ -37,7 +36,6 @@ subprojects {
37
36
repositories {
38
37
google()
39
38
mavenCentral()
40
- jcenter()
41
39
42
40
if (! Libs.AndroidX.Compose . snapshot. isEmpty()) {
43
41
maven { url " https://androidx.dev/snapshots/builds/${ Libs.AndroidX.Compose.snapshot} /artifacts/repository/" }
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
repositories {
18
- jcenter ()
18
+ mavenCentral ()
19
19
}
20
20
21
21
plugins {
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ buildscript {
21
21
repositories {
22
22
google()
23
23
mavenCentral()
24
- jcenter()
25
24
}
26
25
dependencies {
27
26
classpath Libs . androidGradlePlugin
@@ -37,7 +36,6 @@ subprojects {
37
36
repositories {
38
37
google()
39
38
mavenCentral()
40
- jcenter()
41
39
42
40
if (Libs.AndroidX.Compose . version. endsWith(' SNAPSHOT' )) {
43
41
maven { url Libs.AndroidX.Compose . snapshotUrl }
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
repositories {
18
- jcenter ()
18
+ mavenCentral ()
19
19
}
20
20
21
21
plugins {
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ buildscript {
21
21
repositories {
22
22
google()
23
23
mavenCentral()
24
- jcenter()
25
24
}
26
25
dependencies {
27
26
classpath Libs . androidGradlePlugin
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
repositories {
18
- jcenter ()
18
+ mavenCentral ()
19
19
}
20
20
21
21
plugins {
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ buildscript {
22
22
repositories {
23
23
google()
24
24
mavenCentral()
25
- jcenter()
26
25
}
27
26
28
27
dependencies {
@@ -39,7 +38,6 @@ subprojects {
39
38
repositories {
40
39
google()
41
40
mavenCentral()
42
- jcenter()
43
41
44
42
if (! Libs.AndroidX.Compose . snapshot. isEmpty()) {
45
43
maven { url Urls . composeSnapshotRepo }
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
repositories {
18
- jcenter ()
18
+ mavenCentral ()
19
19
}
20
20
21
21
plugins {
You can’t perform that action at this time.
0 commit comments