33 lines
684 B
Groovy
33 lines
684 B
Groovy
import java.text.SimpleDateFormat
|
|
|
|
//
|
|
// build.gradle in FtcRobotController
|
|
//
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
|
|
defaultConfig {
|
|
minSdkVersion 23
|
|
targetSdkVersion 28
|
|
buildConfigField "String", "BUILD_TIME", '"' + (new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ", Locale.ROOT).format(new Date())) + '"'
|
|
}
|
|
|
|
compileSdkVersion 28
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_7
|
|
targetCompatibility JavaVersion.VERSION_1_7
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven { url = "https://dl.bintray.com/first-tech-challenge/ftcsdk/" }
|
|
|
|
flatDir {
|
|
dirs '../libs'
|
|
}
|
|
}
|
|
|
|
apply from: 'build.release.gradle'
|