diff --git a/android/build.gradle b/android/build.gradle index e01bccf..2fbe14b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,8 @@ // Android pEp JNI adapter Aar gradle build script + + + import org.apache.tools.ant.taskdefs.condition.Os def pEpEngineSrc = hasProperty('pEpEngineSrc') ? pEpEngineSrc : "../../pEpEngine" @@ -13,12 +16,24 @@ def libetpanAndroid = file('external/libetpan/build-android') def pEpEngineAndroid = new File(new File(pEpEngineSrc), 'build-android') def pEpEngineDB = new File(new File(pEpEngineSrc), 'db') -repositories { - jcenter() +buildscript { + repositories { + jcenter() + } + + dependencies { + classpath 'com.android.tools.build:gradle:1.1.0' + } } apply plugin: 'android-library' + repositories { + jcenter() + } + + + android { compileSdkVersion 21 buildToolsVersion "21.1.2" diff --git a/android/local.properties b/android/local.properties index abae872..4c99279 100644 --- a/android/local.properties +++ b/android/local.properties @@ -4,4 +4,4 @@ # Location of the SDK. This is only used by Gradle. # #Wed Apr 15 10:58:28 EDT 2015 -sdk.dir=/home/pepdev/Android/Sdk +sdk.dir=/home/dietz/projekte/android/android-sdk-linux diff --git a/android/pEpJNIAdapter.iml b/android/pEpJNIAdapter.iml new file mode 100644 index 0000000..50ccd9a --- /dev/null +++ b/android/pEpJNIAdapter.iml @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file