Skip to content

Commit

Permalink
3.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lkasso committed May 3, 2021
1 parent 1c4c69a commit 82b3717
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Then, add the compile element to the dependencies closure in the module's ``buil

```gradle
dependencies {
compile 'com.mbientlab:metawear:3.8.1'
compile 'com.mbientlab:metawear:3.8.2'
}
```

Expand Down
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand All @@ -17,7 +16,6 @@ allprojects {
repositories {
jcenter()
google()

ivy {
url "https://mbientlab.com/releases/ivyrep"
layout "gradle"
Expand All @@ -27,4 +25,4 @@ allprojects {

task clean(type: Delete) {
delete rootProject.buildDir
}
}
13 changes: 10 additions & 3 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,19 @@ android {

defaultConfig {
minSdkVersion 24
targetSdkVersion 29
versionCode 63
versionName "3.8.1"
targetSdkVersion 30
versionCode 64
versionName "3.8.2"
}

buildTypes {
debug{
buildConfigField("int", "VERSION_CODE", "${defaultConfig.versionCode}")
buildConfigField("String","VERSION_NAME","\"${defaultConfig.versionName}\"")
}
release {
buildConfigField("int", "VERSION_CODE", "${defaultConfig.versionCode}")
buildConfigField("String","VERSION_NAME","\"${defaultConfig.versionName}\"")
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ private class AndroidPlatform implements IO, BtleGatt {

AndroidPlatform(BluetoothDevice btDevice) {
this.btDevice = btDevice;
board = new JseMetaWearBoard(this, this, btDevice.getAddress(), BuildConfig.LIBRARY_PACKAGE_NAME); //TODO .VERSION_NAME);
board = new JseMetaWearBoard(this, this, btDevice.getAddress(), BuildConfig.VERSION_NAME);
}

void disconnected(int status) {
Expand Down

0 comments on commit 82b3717

Please sign in to comment.