mirror of
https://github.com/jwinterm/LightWallet2.git
synced 2026-10-19 05:38:33 +02:00
Actually get everything working with user-agent, remove gson.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 67 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 315 KiB |
+13
-4
@@ -1,5 +1,5 @@
|
||||
android {
|
||||
buildToolsVersion "23.0.2"
|
||||
buildToolsVersion "24.0.3"
|
||||
compileSdkVersion 23
|
||||
sourceSets {
|
||||
main {
|
||||
@@ -14,6 +14,11 @@ android {
|
||||
|
||||
instrumentTest.setRoot('tests')
|
||||
}
|
||||
defaultConfig {
|
||||
applicationId "com.jw.lightwallet"
|
||||
minSdkVersion 8
|
||||
targetSdkVersion 23
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -23,12 +28,16 @@ android {
|
||||
task copyAndroidNatives() {
|
||||
file("libs/armeabi/").mkdirs();
|
||||
file("libs/armeabi-v7a/").mkdirs();
|
||||
file("libs/arm64-v8a/").mkdirs();
|
||||
file("libs/x86_64/").mkdirs();
|
||||
file("libs/x86/").mkdirs();
|
||||
|
||||
configurations.natives.files.each { jar ->
|
||||
def outputDir = null
|
||||
if(jar.name.endsWith("natives-armeabi-v7a.jar")) outputDir = file("libs/armeabi-v7a")
|
||||
if(jar.name.endsWith("natives-arm64-v8a.jar")) outputDir = file("libs/arm64-v8a")
|
||||
if(jar.name.endsWith("natives-armeabi-v7a.jar")) outputDir = file("libs/armeabi-v7a")
|
||||
if(jar.name.endsWith("natives-armeabi.jar")) outputDir = file("libs/armeabi")
|
||||
if(jar.name.endsWith("natives-x86_64.jar")) outputDir = file("libs/x86_64")
|
||||
if(jar.name.endsWith("natives-x86.jar")) outputDir = file("libs/x86")
|
||||
if(outputDir != null) {
|
||||
copy {
|
||||
@@ -59,12 +68,12 @@ task run(type: Exec) {
|
||||
}
|
||||
|
||||
def adb = path + "/platform-tools/adb"
|
||||
commandLine "$adb", 'shell', 'am', 'start', '-n', 'com.jw.lightwallet.android/com.jw.lightwallet.android.AndroidLauncher'
|
||||
commandLine "$adb", 'shell', 'am', 'start', '-n', 'com.jw.lightwallet/com.jw.lightwallet.AndroidLauncher'
|
||||
}
|
||||
|
||||
// sets up the Android Eclipse project, using the old Ant based build.
|
||||
eclipse {
|
||||
// need to specify Java source sets explicitely, SpringSource Gradle Eclipse plugin
|
||||
// need to specify Java source sets explicitly, SpringSource Gradle Eclipse plugin
|
||||
// ignores any nodes added in classpath.file.withXml
|
||||
sourceSets {
|
||||
main {
|
||||
|
||||
Reference in New Issue
Block a user