55 lines
1.4 KiB
Groovy
55 lines
1.4 KiB
Groovy
//
|
|
// build.gradle in TeamCode
|
|
//
|
|
// Most of the definitions for building your module reside in a common, shared
|
|
// file 'build.common.gradle'. Being factored in this way makes it easier to
|
|
// integrate updates to the FTC into your code. If you really need to customize
|
|
// the build definitions, you can place those customizations in this file, but
|
|
// please think carefully as to whether such customizations are really necessary
|
|
// before doing so.
|
|
|
|
|
|
// Custom definitions may go here
|
|
repositories {
|
|
// Dairy releases repository
|
|
maven {
|
|
url = "https://repo.dairy.foundation/releases"
|
|
}
|
|
// Dairy snapshots repository
|
|
maven {
|
|
url = "https://repo.dairy.foundation/snapshots"
|
|
}
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "https://repo.dairy.foundation/releases"
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath "dev.frozenmilk:Load:0.2.4"
|
|
}
|
|
}
|
|
|
|
|
|
// Include common definitions from above.
|
|
apply from: '../build.common.gradle'
|
|
apply from: '../build.dependencies.gradle'
|
|
apply plugin: 'dev.frozenmilk.sinister.sloth.load'
|
|
|
|
android {
|
|
namespace = 'org.firstinspires.ftc.teamcode'
|
|
|
|
packagingOptions {
|
|
jniLibs.useLegacyPackaging true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':FtcRobotController')
|
|
implementation("dev.frozenmilk.sinister:Sloth:0.2.4")
|
|
implementation("com.bylazar.sloth:fullpanels:0.2.4+1.0.12")
|
|
}
|