Fix gradle files

This commit is contained in:
StephaneBg 2014-08-27 14:10:22 +02:00
parent f1a4188d89
commit e9377a4d8b
4 changed files with 25 additions and 29 deletions

View File

@ -1,15 +1,15 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 20
buildToolsVersion "20.0.0"
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
defaultConfig {
applicationId "com.daimajia.swipedemo"
minSdkVersion 8
targetSdkVersion 20
versionCode 1
versionName "1.0"
minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION)
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
versionName project.VERSION_NAME
versionCode Integer.parseInt(project.VERSION_CODE)
}
buildTypes {
release {
@ -20,7 +20,6 @@ android {
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(":library")
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.easing:library:1.0.0@aar'

View File

@ -20,15 +20,9 @@
VERSION_NAME=1.0.2
VERSION_CODE=3
GROUP=com.daimajia.swipelayout
GROUP=com.daimajia.swipe
POM_DESCRIPTION=Android Swipe Layout
POM_URL=https://github.com/daimajia/AndroidSwipeLayout
POM_SCM_URL=https://github.com/daimajia/AndroidSwipeLayout
POM_SCM_CONNECTION=scm:https://github.com/daimajia/AndroidSwipeLayout.git
POM_SCM_DEV_CONNECTION=scm:https://github.com/daimajia/AndroidSwipeLayout.git
POM_LICENCE_NAME=MIT
POM_LICENCE_URL=http://opensource.org/licenses/MIT
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=daimajia
POM_DEVELOPER_NAME=daimajia
ANDROID_BUILD_MIN_SDK_VERSION=14
ANDROID_BUILD_TARGET_SDK_VERSION=20
ANDROID_BUILD_SDK_VERSION=20
ANDROID_BUILD_TOOLS_VERSION=20.0.0

View File

@ -1,21 +1,13 @@
apply plugin: 'com.android.library'
android {
compileSdkVersion 20
buildToolsVersion "20.0.0"
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
defaultConfig {
applicationId "com.daimajia.swipe"
minSdkVersion 8
targetSdkVersion 20
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
}
}

View File

@ -20,3 +20,14 @@
POM_NAME=Android SwipeLayout Library
POM_ARTIFACT_ID=library
POM_PACKAGING=aar
POM_DESCRIPTION=Android Swipe Layout
POM_URL=https://github.com/daimajia/AndroidSwipeLayout
POM_SCM_URL=https://github.com/daimajia/AndroidSwipeLayout
POM_SCM_CONNECTION=scm:https://github.com/daimajia/AndroidSwipeLayout.git
POM_SCM_DEV_CONNECTION=scm:https://github.com/daimajia/AndroidSwipeLayout.git
POM_LICENCE_NAME=MIT
POM_LICENCE_URL=http://opensource.org/licenses/MIT
POM_LICENCE_DIST=repo
POM_DEVELOPER_ID=daimajia
POM_DEVELOPER_NAME=daimajia