59 lines
1.3 KiB
Plaintext
59 lines
1.3 KiB
Plaintext
plugins {
|
|
id 'com.android.application'
|
|
}
|
|
|
|
android {
|
|
namespace 'org.firstinspires.ftc.{{PACKAGE_NAME}}'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
applicationId 'org.firstinspires.ftc.{{PACKAGE_NAME}}'
|
|
minSdk 24
|
|
targetSdk 34
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
srcDirs = ['src/main/java']
|
|
}
|
|
}
|
|
test {
|
|
java {
|
|
srcDirs = ['src/test/java']
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.firstinspires.ftc:RobotCore:10.1.1'
|
|
implementation 'org.firstinspires.ftc:Hardware:10.1.1'
|
|
implementation 'org.firstinspires.ftc:FtcCommon:10.1.1'
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
testImplementation 'org.mockito:mockito-core:5.3.1'
|
|
}
|