File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,12 +21,15 @@ android {
2121dependencies {
2222 implementation project(' :FtcRobotController' )
2323
24- implementation ' com.github.AshOnDiscord.FTC-OffSeason:cmdx:9045b2b7c3'
25- implementation ' com.github.AshOnDiscord.FTC-OffSeason:cmdxpedro:9045b2b7c3'
26-
27- // maven local
28- // implementation('com.millburnx:cmdx:+')
29- // implementation('com.millburnx:cmdxpedro:+')
24+ if (new File (" ${ System.getProperty('user.home')} /.m2/repository/com/millburnx/cmdx" ). exists()) {
25+ println " 📦 [deps] Using mavenLocal cmdx"
26+ implementation(' com.millburnx:cmdx:+' )
27+ implementation(' com.millburnx:cmdxpedro:+' )
28+ } else {
29+ println " 📦 [deps] Using JitPack cmdx (9045b2b7c3)"
30+ implementation ' com.github.AshOnDiscord.FTC-OffSeason:cmdx:9045b2b7c3'
31+ implementation ' com.github.AshOnDiscord.FTC-OffSeason:cmdxpedro:9045b2b7c3'
32+ }
3033
3134 implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2" )
3235 implementation ' org.ftclib.ftclib:core:2.1.1'
Original file line number Diff line number Diff line change 11repositories {
2+ mavenLocal()
23 mavenCentral()
34 google() // Needed for androidx
5+ maven { url = " https://central.sonatype.com/repository/maven-snapshots/" }
46 maven { url = " https://mymaven.bylazar.com/releases" }
57 maven { url = ' https://maven.brott.dev/' }
6- maven { url = " https://central.sonatype.com/repository/maven-snapshots/" }
78}
89
910dependencies {
@@ -18,15 +19,18 @@ dependencies {
1819 implementation ' androidx.appcompat:appcompat:1.2.0'
1920
2021// implementation 'com.pedropathing:ftc:2.0.6'
21- implementation ' com.pedropathing:ftc:2.1.0-SNAPSHOT'
22+ // implementation 'com.pedropathing:ftc:2.1.0-SNAPSHOT'
23+ implementation(' com.pedropathing:ftc:2.1.1' ) {
24+ changing = true
25+ }
2226 implementation ' com.pedropathing:telemetry:1.0.0'
2327 implementation ' com.bylazar:fullpanels:1.0.12'
2428
2529 implementation ' com.acmerobotics.dashboard:dashboard:0.5.1'
2630}
2731
28- configurations. configureEach {
29- resolutionStrategy {
30- cacheChangingModulesFor(365 , " days" )
31- }
32- }
32+ // configurations.configureEach {
33+ // resolutionStrategy {
34+ // cacheChangingModulesFor(365, "days")
35+ // }
36+ // }
You can’t perform that action at this time.
0 commit comments