feat(*): update to androidx and add mynteye jni

This commit is contained in:
John Zhao
2019-01-15 15:10:59 +08:00
parent d41f4cbcbc
commit a8796478e6
34 changed files with 1018 additions and 75 deletions

View File

@@ -1,45 +1,8 @@
ext {
xplugins = [
'android': [
// Gradle: https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
buildGradle: 'com.android.tools.build:gradle:3.2.1',
],
]
xversions = [
'compileSdk': 28,
'minSdk': 21,
'minSdk': 24,
'targetSdk': 28,
'androidSupport': '28.0.0',
]
xdeps = [
// Support Library
// https://developer.android.com/topic/libraries/support-library/
'support': [
// Android AppCompat Library V7
// https://mvnrepository.com/artifact/com.android.support/appcompat-v7?repo=google
'appcompat': "com.android.support:appcompat-v7:${xversions.androidSupport}",
// Android ConstraintLayout Solver
// https://mvnrepository.com/artifact/com.android.support.constraint/constraint-layout-solver
'constraint': 'com.android.support.constraint:constraint-layout:1.1.3',
// Android Multi Dex Library
// https://mvnrepository.com/artifact/com.android.support/multidex
'multidex': 'com.android.support:multidex:1.0.3',
// Test apps on Android
// https://developer.android.com/training/testing/
'test': [
'espresso': 'com.android.support.test.espresso:espresso-core:3.0.2',
'rules': 'com.android.support.test:rules:1.0.2',
'runner': 'com.android.support.test:runner:1.0.2',
],
],
// JUnit4: https://github.com/junit-team/junit4
'junit': 'junit:junit:4.12',
]
xabis = ['arm64-v8a', 'armeabi-v7a'] as String[]

View File

@@ -1,5 +1,6 @@
#Tue Jan 15 14:54:17 CST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip