-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from googolmo/dev
Add Gradle Support
- Loading branch information
Showing
17 changed files
with
423 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,6 @@ local.properties | |
|
||
# Proguard folder generated by Eclipse | ||
proguard/ | ||
|
||
.idea/ | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion Integer.parseInt(project.COMPILE_SDK_VERSION) | ||
buildToolsVersion project.BUILD_TOOLS_VERSION | ||
|
||
defaultConfig { | ||
minSdkVersion Integer.parseInt(project.MIN_SDK_VERSION) | ||
targetSdkVersion Integer.parseInt(project.TARGET_SDK_VERSION) | ||
versionCode Integer.parseInt(project.VERSION_CODE) | ||
versionName project.VERSION_NAME | ||
} | ||
|
||
buildTypes { | ||
release { | ||
runProguard false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
} | ||
} | ||
sourceSets { | ||
main { | ||
manifest.srcFile 'AndroidManifest.xml' | ||
java.srcDirs = ['src'] | ||
resources.srcDirs = ['src'] | ||
aidl.srcDirs = ['src'] | ||
renderscript.srcDirs = ['src'] | ||
res.srcDirs = ['res'] | ||
} | ||
|
||
} | ||
|
||
} | ||
|
||
|
||
|
||
|
||
dependencies { | ||
compile project(':CircularImageView') | ||
compile 'com.android.support:support-v4:20.0.0' | ||
compile 'com.squareup.picasso:picasso:2.3.2' | ||
compile 'com.squareup.okhttp:okhttp:2.0.0' | ||
compile 'com.squareup.okhttp:okhttp-urlconnection:2.0.0' | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apply plugin: 'com.android.library' | ||
|
||
version = project.VERSION_NAME | ||
group = project.GROUP | ||
|
||
android { | ||
compileSdkVersion Integer.parseInt(project.COMPILE_SDK_VERSION) | ||
buildToolsVersion project.BUILD_TOOLS_VERSION | ||
|
||
defaultConfig { | ||
minSdkVersion Integer.parseInt(project.MIN_SDK_VERSION) | ||
targetSdkVersion Integer.parseInt(project.TARGET_SDK_VERSION) | ||
applicationId project.GROUP | ||
versionName project.VERSION_NAME | ||
versionCode Integer.parseInt(project.VERSION_CODE) | ||
} | ||
|
||
sourceSets { | ||
main { | ||
manifest.srcFile 'AndroidManifest.xml' | ||
java.srcDirs = ['src'] | ||
resources.srcDirs = ['src'] | ||
aidl.srcDirs = ['src'] | ||
renderscript.srcDirs = ['src'] | ||
res.srcDirs = ['res'] | ||
} | ||
|
||
} | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
POM_NAME=CircularImageView | ||
POM_ARTIFACT_ID=circularimageview | ||
POM_PACKAGING=aar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// 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.+' | ||
} | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
jcenter() | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
VERSION_NAME=1.0 | ||
VERSION_CODE=1 | ||
GROUP=com.pkmmte.circularimageview | ||
|
||
POM_DESCRIPTION=Custom view for circular images in Android while maintaining the best draw performance | ||
POM_URL=https://github.com/Pkmmte/CircularImageView | ||
POM_SCM_URL=https://github.com/Pkmmte/CircularImageView | ||
POM_SCM_CONNECTION=scm:[email protected]:Pkmmte/CircularImageView.git | ||
POM_SCM_DEV_CONNECTION=scm:[email protected]:Pkmmte/CircularImageView.git | ||
POM_LICENCE_NAME=Creative Commons Attribution 4.0 International License. | ||
POM_LICENCE_URL=http:https://creativecommons.org/licenses/by/4.0/ | ||
POM_LICENCE_DIST=repo | ||
POM_DEVELOPER_ID=Pkmmte | ||
POM_DEVELOPER_NAME=Pkmmte | ||
|
||
COMPILE_SDK_VERSION=20 | ||
BUILD_TOOLS_VERSION=20.0.0 | ||
MIN_SDK_VERSION=14 | ||
TARGET_SDK_VERSION=20 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#Sun Jul 20 17:32:19 CST 2014 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\:https://services.gradle.org/distributions/gradle-1.12-bin.zip |
Oops, something went wrong.