rusefi/android/app/build.gradle

83 lines
2.5 KiB
Groovy
Raw Normal View History

2020-06-24 15:26:54 -07:00
apply plugin: 'com.android.application'
2020-07-12 20:51:54 -07:00
apply from: '../../android/dependencies.gradle'
2020-06-24 15:26:54 -07:00
android {
2023-06-18 07:40:40 -07:00
namespace "com.rusefi.app"
2020-07-12 15:53:53 -07:00
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
}
2020-07-03 10:03:11 -07:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
compileSdkVersion 31
2023-06-17 21:23:42 -07:00
buildToolsVersion "30.0.3"
2020-08-15 20:58:29 -07:00
project.archivesBaseName = "rusEFI";
2020-06-24 15:26:54 -07:00
defaultConfig {
applicationId "com.rusefi.app"
2020-09-04 12:47:25 -07:00
// API level 19 = Android 4.4 () Samsung S4 is nicely rootable with KingRoot
// API level 21 = Android_5.0_Lollipop
minSdkVersion 19
targetSdkVersion 31
2020-06-24 15:26:54 -07:00
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
release {
storeFile file("../certs/rusEFI.jks")
storePassword System.getenv("RUSEFI_ANDROID_KEYPASS")
keyAlias "key0"
keyPassword System.getenv("RUSEFI_ANDROID_KEYPASS")
}
}
2020-06-24 15:26:54 -07:00
buildTypes {
debug {
minifyEnabled false
}
2020-06-24 15:26:54 -07:00
release {
minifyEnabled false
signingConfig signingConfigs.release
2020-06-24 15:26:54 -07:00
}
}
}
dependencies {
2020-07-03 10:03:11 -07:00
implementation project(':ecu_io')
2020-07-05 11:29:59 -07:00
implementation project(':logging-api')
2020-08-15 17:46:52 -07:00
implementation project(':models')
implementation global_libs.annotations
2020-07-01 21:19:55 -07:00
def acraVersion = '5.7.0'
implementation "ch.acra:acra-http:$acraVersion"
implementation "ch.acra:acra-mail:$acraVersion"
implementation "ch.acra:acra-dialog:$acraVersion"
implementation "ch.acra:acra-toast:$acraVersion"
2020-06-28 22:41:39 -07:00
implementation files('lib/dfu_java.jar')
2021-10-13 18:49:53 -07:00
// implementation 'com.github.mik3y:usb-serial-for-android:v2.2.3'
implementation 'com.github.mik3y:usb-serial-for-android:v3.1.0'
2020-06-24 15:26:54 -07:00
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.navigation:navigation-fragment:2.1.0'
implementation 'androidx.navigation:navigation-ui:2.1.0'
2020-08-15 18:49:39 -07:00
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
2020-07-12 20:51:54 -07:00
2020-06-24 15:26:54 -07:00
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
/*
gradle.taskGraph.afterTask { task ->
project.logger.lifecycle("Password " + System.getenv('RUSEFI_ANDROID_KEYPASS'));
}
*/