diff --git a/build.gradle b/build.gradle index 8942ba1c2..ab0325717 100644 --- a/build.gradle +++ b/build.gradle @@ -1,16 +1,57 @@ // Top-level build file where you can add configuration options common to all // sub-projects/modules. buildscript { - repositories { - jcenter() - } - dependencies { - classpath 'com.android.tools.build:gradle:0.12.2' - } + repositories { + jcenter() + mavenCentral() + } + dependencies { + classpath 'com.android.tools.build:gradle:0.12.2' + } } allprojects { - repositories { - jcenter() - } + repositories { + jcenter() + mavenCentral() + } +} + +apply plugin: 'android' + +repositories { + mavenCentral() +} + +android { + compileSdkVersion 19 + buildToolsVersion "19.1" + + defaultConfig { + minSdkVersion 14 + targetSdkVersion 19 + versionCode 32 + versionName "0.8-alpha" + } + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_7 + targetCompatibility JavaVersion.VERSION_1_7 + } + buildTypes { + release { + runProguard true + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' + } + debug { + runProguard false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' + } + } +} + +dependencies { + // ToDo: Move libs here if possible (instead of including the jars) + "compile 'com.android.support:support-v13:19.1.0'" + compile fileTree(dir: 'libs', include: ['*.jar']) } diff --git a/conversations/src/main/AndroidManifest.xml b/conversations/src/main/AndroidManifest.xml index a66de8ba6..7bde645f4 100644 --- a/conversations/src/main/AndroidManifest.xml +++ b/conversations/src/main/AndroidManifest.xml @@ -1,13 +1,7 @@ - - + package="eu.siacs.conversations"> diff --git a/libs/bcprov-jdk15on-150.jar b/libs/bcprov-jdk15on-150.jar new file mode 100644 index 000000000..d4b510d78 Binary files /dev/null and b/libs/bcprov-jdk15on-150.jar differ diff --git a/libs/otr4j-0.10.jar b/libs/otr4j-0.10.jar new file mode 100644 index 000000000..d4fc3a916 Binary files /dev/null and b/libs/otr4j-0.10.jar differ