Skip to content

Commit

Permalink
updating gradle dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudyparts committed Oct 2, 2021
1 parent bdd6b62 commit 5ff90c6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,5 @@ lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/

*.hprof
1 change: 0 additions & 1 deletion TeamCode/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ dependencies {
annotationProcessor files('lib/OpModeAnnotationProcessor.jar')

implementation 'org.apache.commons:commons-math3:3.6.1'

implementation 'com.acmerobotics.roadrunner:core:0.5.2'
implementation 'com.acmerobotics.dashboard:dashboard:0.3.10'
}
9 changes: 7 additions & 2 deletions build.dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
repositories {
mavenCentral()
google() // Needed for androidx
jcenter() // Needed for tensorflow-lite
//jcenter() // Needed for tensorflow-lite
flatDir {
dirs rootProject.file('libs')
}
maven {
url = 'https://maven.brott.dev/'
}

maven {
url = 'http://oss.sonatype.org/'
}
}

dependencies {
Expand All @@ -20,7 +24,8 @@ dependencies {
implementation 'org.firstinspires.ftc:Hardware:7.0.0'
implementation 'org.firstinspires.ftc:FtcCommon:7.0.0'
implementation 'org.tensorflow:tensorflow-lite-task-vision:0.2.0'
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'org.tensorflow:tensorflow-lite:2.6.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'org.firstinspires.ftc:gameAssets-FreightFrenzy:1.0.0'
}

18 changes: 9 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ buildscript {
repositories {
mavenCentral()
google()
jcenter()
//jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'com.android.tools.build:gradle:4.0.2'
}
}

Expand All @@ -25,7 +25,7 @@ allprojects {
repositories {
mavenCentral()
google()
jcenter()
//jcenter()
}
}

Expand All @@ -38,11 +38,11 @@ repositories {
}

dependencies {
doc 'org.firstinspires.ftc:Hardware:6.2.0'
doc 'org.firstinspires.ftc:RobotCore:6.2.0'
doc 'org.firstinspires.ftc:FtcCommon:6.2.0'
doc 'org.firstinspires.ftc:OnBotJava:6.2.0'
doc 'org.firstinspires.ftc:Inspection:6.2.0'
doc 'org.firstinspires.ftc:Hardware:7.0.0'
doc 'org.firstinspires.ftc:RobotCore:7.0.'
doc 'org.firstinspires.ftc:FtcCommon:7.0.0'
doc 'org.firstinspires.ftc:OnBotJava:7.0.0'
doc 'org.firstinspires.ftc:Inspection:7.0.0'
}

task extractJavadoc {
Expand All @@ -51,7 +51,7 @@ task extractJavadoc {

def result = dependencies.createArtifactResolutionQuery()
.forComponents(componentIds)
.withArtifacts(JvmLibrary, SourcesArtifact, JavadocArtifact)
.withArtifacts(SourcesArtifact, JavadocArtifact)
.execute()

for (component in result.resolvedComponents) {
Expand Down

0 comments on commit 5ff90c6

Please sign in to comment.