Skip to content

Commit

Permalink
Zero-byte stubs for unsupported architectures (getodk#3108)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanokwa authored and lognaturel committed May 29, 2019
1 parent ad88868 commit 0eee1d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion collect_app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ android {
pickFirst 'META-INF/services/com.fasterxml.jackson.core.ObjectCodec'
pickFirst 'META-INF/services/javax.ws.rs.ext.MessageBodyReader'
pickFirst 'META-INF/services/javax.ws.rs.ext.MessageBodyWriter'

exclude 'lib/arm64-v8a/libmapbox-gl.so'
exclude 'lib/x86/libmapbox-gl.so'
exclude 'lib/x86_64/libmapbox-gl.so'
}

compileOptions {
Expand Down Expand Up @@ -183,7 +187,7 @@ configurations.all {
}

dependencies {
implementation fileTree(dir: 'libs', include: '*.jar')
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
implementation 'androidx.browser:browser:1.0.0'
implementation 'com.google.android.material:material:1.1.0-alpha05'
Expand Down
Binary file added collect_app/libs/nbi-stubs-1.0.0.aar
Binary file not shown.

0 comments on commit 0eee1d8

Please sign in to comment.