Skip to content

Commit

Permalink
moved to gradle build system
Browse files Browse the repository at this point in the history
  • Loading branch information
Tjerk Wolterink committed Feb 24, 2014
1 parent 9d5ffdc commit bead925
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 105 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,7 @@ See the sample app for usage information.

### Including In Your Project

Currently you have to checkout the project, include it in your eclipse and ensure your project includes it.

I am working on putting it in maven Central so it can be easily added to any maven Android project.

A jar may also be an option, however i want to extend this library with android resources,
which you cannot include as a jar file.
Add the library as a gradle dependency to your project.

## Pull Requests

Expand Down
Empty file added build.gradle
Empty file.
16 changes: 1 addition & 15 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

Expand All @@ -12,18 +12,4 @@ apply plugin: 'android-library'
android {
compileSdkVersion 19
buildToolsVersion = '19.0.1'

sourceSets {

main {
assets.srcDirs = ['assets']
res.srcDirs = ['res']
aidl.srcDirs = ['src']
resources.srcDirs = ['src']
renderscript.srcDirs = ['src']
java.srcDirs = ['src']
manifest.srcFile 'AndroidManifest.xml'

}
}
}
35 changes: 0 additions & 35 deletions library/pom.xml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions sample/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.8.+'
}
}

apply plugin: 'android-library'

dependencies {
compile project(':library')
}

android {
compileSdkVersion 19
buildToolsVersion = '19.0.1'
}
49 changes: 0 additions & 49 deletions sample/pom.xml

This file was deleted.

File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ':library'

0 comments on commit bead925

Please sign in to comment.