Skip to content

Commit

Permalink
forcing the application to use the java 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Kushal Kumar committed Dec 15, 2016
1 parent fc533a8 commit 482a449
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-blueapp",
"version": "1.1.1",
"version": "1.1.2",
"description": "Cordova BlueApp.io Plugin",
"cordova": {
"id": "cordova-plugin-blueapp",
Expand Down
3 changes: 2 additions & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-blueapp" version="1.1.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<plugin id="cordova-plugin-blueapp" version="1.1.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>BlueApp.io</name>
<description>Cordova BlueApp Plugin</description>
<!-- <asset src="www/blueappio.js" target="js/blueappio.js"/> -->
Expand All @@ -24,6 +24,7 @@
<service android:exported="true" android:enabled="true" android:name="org.gatt_ip.BluetoothLEService">
</service>
</config-file>
<source-file src="src/android/libs/build-extras.gradle" target-dir="src/.." />
<source-file src="src/android/libs/GATT-IP-LIB.jar" target-dir="libs/" />
<source-file src="src/android/IOBlueApp.java" target-dir="src/io/blueapp/webbluetooth/" />
</platform>
Expand Down
8 changes: 8 additions & 0 deletions src/android/libs/build-extras.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ext.postBuildExtras = {
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
}
}

0 comments on commit 482a449

Please sign in to comment.