Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Move support from gradle to plugin.xml and make version configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored and macdonst committed Mar 11, 2018
1 parent 85faa87 commit 16c97b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
</config-file>
<framework src="src/android/barcodescanner.gradle" custom="true" type="gradleReference"/>
<lib-file src="src/android/barcodescanner-release-2.1.5.aar"/>
<preference name="ANDROID_SUPPORT_V4_VERSION" default="27.+" />
<framework src="com.android.support:support-v4:$ANDROID_SUPPORT_V4_VERSION"/>
</platform>
<platform name="windows">
<js-module src="src/windows/BarcodeScannerProxy.js" name="BarcodeScannerProxy">
Expand Down
1 change: 0 additions & 1 deletion src/android/barcodescanner.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ repositories{
}

dependencies {
compile 'com.android.support:support-v4:+'
compile(name:'barcodescanner-release-2.1.5', ext:'aar')
}

Expand Down

0 comments on commit 16c97b7

Please sign in to comment.