Add build deps and move build props to build file

This commit is contained in:
Sam Whited 2014-10-22 15:39:53 -04:00
parent 038f7afd88
commit 07b47172a0
4 changed files with 51 additions and 16 deletions

View file

@ -1,16 +1,57 @@
// Top-level build file where you can add configuration options common to all // Top-level build file where you can add configuration options common to all
// sub-projects/modules. // sub-projects/modules.
buildscript { buildscript {
repositories { repositories {
jcenter() jcenter()
} mavenCentral()
dependencies { }
classpath 'com.android.tools.build:gradle:0.12.2' dependencies {
} classpath 'com.android.tools.build:gradle:0.12.2'
}
} }
allprojects { allprojects {
repositories { repositories {
jcenter() 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'])
} }

View file

@ -1,13 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="eu.siacs.conversations" package="eu.siacs.conversations">
android:versionCode="32"
android:versionName="0.8-alpha" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

BIN
libs/bcprov-jdk15on-150.jar Normal file

Binary file not shown.

BIN
libs/otr4j-0.10.jar Normal file

Binary file not shown.