Skip to content

Commit

Permalink
Merge pull request #297 from openxc/next
Browse files Browse the repository at this point in the history
Update to v7.0.4
  • Loading branch information
alokonly authored Feb 5, 2019
2 parents e39ce69 + 2b52347 commit 6264ec8
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 18 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ android:
components:
- platform-tools
- tools
- build-tools-27.0.3
- android-27
- build-tools-28.0.3
- android-28
- extra-android-support
- extra-android-m2repository
before_install:
- yes | sdkmanager "platforms;android-28"
script:
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && ./gradlew build test || ./gradlew testDebug'
deploy:
Expand Down
14 changes: 7 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7'
classpath 'com.github.triplet.gradle:play-publisher:1.2.0'
classpath 'com.bugsnag:bugsnag-android-gradle-plugin:3.2.5'
classpath 'com.bugsnag:bugsnag-android-gradle-plugin:3.5.0'
}
}

Expand All @@ -25,14 +25,14 @@ allprojects {


ext {
compileSdkVersion = 27
buildToolsVersion = "27.0.3"
compileSdkVersion = 28
buildToolsVersion = "28.0.3"
minSdkVersion = 18
targetSdkVersion = 27
targetSdkVersion = 28

versionMajor = 7
versionMinor = 0
versionPatch = 3
versionPatch = 4

versionCode = versionMajor * 1000000 + versionMinor * 1000 + versionPatch
versionName = "${versionMajor}.${versionMinor}.${versionPatch}"
Expand Down
4 changes: 2 additions & 2 deletions enabler/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ android {

dependencies {
implementation project(":library")
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.bugsnag:bugsnag-android:4.3.2'
implementation 'net.hockeyapp.android:HockeySDK:5.1.0'


androidTestImplementation 'junit:junit:4.12'
androidTestImplementation 'org.hamcrest:hamcrest-library:1.3'
androidTestImplementation 'org.mockito:mockito-core:2.17.0'
androidTestImplementation 'org.mockito:mockito-core:2.23.0'
androidTestImplementation 'com.google.dexmaker:dexmaker:1.2'
androidTestImplementation 'com.google.dexmaker:dexmaker-mockito:1.2'
}
3 changes: 3 additions & 0 deletions enabler/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
<uses-feature android:name="android.hardware.usb.host" android:required="true"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>

<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name"
android:theme="@android:style/Theme.Holo">
Expand Down Expand Up @@ -58,6 +59,8 @@
</intent-filter>
</receiver>
<meta-data android:name="com.bugsnag.token" android:value="@string/bugsnag_token"/>
<uses-library android:name="org.apache.http.legacy" android:required="false"/>

</application>

</manifest>
6 changes: 3 additions & 3 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#Wed Apr 10 15:27:10 PDT 2013
#Wed Jan 16 13:29:14 IST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
org.gradle.jvmargs=-Xmx1536M
org.gradle.jvmargs=-Xmx1536M
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
8 changes: 4 additions & 4 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ android {
apply plugin: 'com.github.dcendents.android-maven'

dependencies {
api 'com.google.code.gson:gson:2.8.2'
implementation 'com.google.guava:guava:24.1-android'
api 'com.google.code.gson:gson:2.8.5'
api 'com.google.guava:guava:24.1-android'
implementation 'com.google.protobuf:protobuf-java:3.5.1'
implementation 'commons-io:commons-io:2.6'
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.android.support:support-v4:28.0.0'

testImplementation 'junit:junit:4.12'
testImplementation 'org.hamcrest:hamcrest-all:1.3'
testImplementation 'org.mockito:mockito-core:2.17.0'
testImplementation 'org.mockito:mockito-core:2.23.0'
testImplementation 'org.robolectric:robolectric:3.8'
testImplementation 'org.robolectric:shadows-httpclient:3.8'
}
Expand Down

0 comments on commit 6264ec8

Please sign in to comment.