LAMP_Connect_v1
This commit is contained in:
57
wear/build.gradle
Normal file
57
wear/build.gradle
Normal file
@@ -0,0 +1,57 @@
|
||||
// module :wear build.gradle for Wear 1.0 and 2.0 watches.
|
||||
// https://developer.android.com/training/wearables/apps/packaging.html
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 28
|
||||
|
||||
defaultConfig {
|
||||
applicationId "no.nordicsemi.android.nrftoolbox"
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 28
|
||||
versionCode 282726903 // target: 28, version: 2.6.0, build: 68, multi-APK: 01
|
||||
versionName "2.7.2"
|
||||
resConfigs "en"
|
||||
}
|
||||
lintOptions {
|
||||
abortOnError false
|
||||
}
|
||||
buildTypes {
|
||||
debug {
|
||||
minifyEnabled true
|
||||
useProguard false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
release {
|
||||
minifyEnabled true
|
||||
useProguard true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
}
|
||||
|
||||
// exclude these from the build:
|
||||
configurations.all() { configuration -> exclude group: "org.apache.httpcomponents", module: "httpclient" }
|
||||
|
||||
dependencies {
|
||||
implementation project(':common')
|
||||
implementation 'androidx.recyclerview:recyclerview:1.1.0-alpha04'
|
||||
implementation 'androidx.percentlayout:percentlayout:1.0.0'
|
||||
implementation 'com.google.android.support:wearable:2.4.0'
|
||||
compileOnly 'com.google.android.wearable:wearable:2.4.0'
|
||||
|
||||
implementation 'no.nordicsemi.android.support.v18:scanner:1.4.0'
|
||||
|
||||
// uncomment to enable the Wear UI Library
|
||||
// https://developer.android.com/training/wearables/ui/wear-ui-library.html
|
||||
// implementation 'com.android.support:wear:28.0.0'
|
||||
|
||||
// nRF Toolbox is using Play Service 10.2.0 in order to make the app working in China:
|
||||
// https://developer.android.com/training/wearables/apps/creating-app-china.html#ChinaSDK
|
||||
//noinspection GradleDependency
|
||||
implementation 'com.google.android.gms:play-services-wearable:10.2.0'
|
||||
}
|
||||
Reference in New Issue
Block a user