Skip to content

Commit

Permalink
Added maven_push in prep for maven central deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
tokudu committed May 12, 2014
1 parent 1fa41bf commit e5575a4
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 302 deletions.
26 changes: 16 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
allprojects {

group 'com.sothree.slidinguppanel'
version '1.0.0-SNAPSHOT'

buildscript {
repositories {
mavenCentral()
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
}
}

def isReleaseBuild() {
return version.contains("SNAPSHOT") == false
}

allprojects {
version = VERSION_NAME
group = GROUP

repositories {
mavenCentral()
}
}
}
42 changes: 21 additions & 21 deletions demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@ buildscript {
}

android {
compileSdkVersion 19
buildToolsVersion "19.0.3"

lintOptions {
abortOnError false
}

defaultConfig {
minSdkVersion 11
targetSdkVersion 19
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
compileSdkVersion 19
buildToolsVersion "19.0.3"

lintOptions {
abortOnError false
}

defaultConfig {
minSdkVersion 11
targetSdkVersion 19
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
}
}

dependencies {
compile 'com.android.support:support-v4:+'
compile project(':library')
compile 'com.android.support:support-v4:+'
compile project(':library')
}
55 changes: 0 additions & 55 deletions demo/pom.xml

This file was deleted.

4 changes: 2 additions & 2 deletions library/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sothree.slidinguppanel.library"
android:versionCode="1"
android:versionName="1.0.0">
android:versionCode="2"
android:versionName="1.0.1">

<uses-sdk
android:minSdkVersion="8"
Expand Down
36 changes: 22 additions & 14 deletions library/build.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,37 @@
apply plugin: 'android-library'

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.9.+'
}
}

repositories {
mavenCentral()
}

dependencies {
compile 'com.android.support:support-v4:+'
compile 'com.nineoldandroids:library:+'
compile 'com.nineoldandroids:library:+'
}

android {
compileSdkVersion 19
buildToolsVersion "19.0.3"
lintOptions {
abortOnError false
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
compileSdkVersion 19
buildToolsVersion "19.0.3"
lintOptions {
abortOnError false
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
}
}

81 changes: 0 additions & 81 deletions library/pom.xml

This file was deleted.

Loading

0 comments on commit e5575a4

Please sign in to comment.