-
Notifications
You must be signed in to change notification settings - Fork 554
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v4.0.1 Configuration for JCenter #9.
Refactored module names, package signatures and gradle build files.
- Loading branch information
Showing
131 changed files
with
908 additions
and
89 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
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,51 @@ | ||
apply plugin: 'com.jfrog.bintray' | ||
|
||
version = libraryVersion | ||
|
||
task sourcesJar(type: Jar) { | ||
from android.sourceSets.main.java.srcDirs | ||
classifier = 'sources' | ||
} | ||
|
||
task javadoc(type: Javadoc) { | ||
source = android.sourceSets.main.java.srcDirs | ||
classpath += project.files(android.getBootClasspath().join(File.pathSeparator)) | ||
} | ||
|
||
task javadocJar(type: Jar, dependsOn: javadoc) { | ||
classifier = 'javadoc' | ||
from javadoc.destinationDir | ||
} | ||
artifacts { | ||
archives javadocJar | ||
archives sourcesJar | ||
} | ||
|
||
// Bintray | ||
Properties properties = new Properties() | ||
properties.load(project.rootProject.file('local.properties').newDataInputStream()) | ||
|
||
bintray { | ||
user = properties.getProperty("bintray.user") | ||
key = properties.getProperty("bintray.apikey") | ||
|
||
configurations = ['archives'] | ||
pkg { | ||
repo = bintrayRepo | ||
name = bintrayName | ||
desc = libraryDescription | ||
websiteUrl = siteUrl | ||
vcsUrl = gitUrl | ||
licenses = allLicenses | ||
publish = true | ||
publicDownloadNumbers = true | ||
version { | ||
desc = libraryDescription | ||
gpg { | ||
sign = true //Determines whether to GPG sign the files. The default is false | ||
passphrase = properties.getProperty("bintray.gpg.password") | ||
//Optional. The passphrase for GPG signing' | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -1,12 +1,55 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
ext { | ||
//Author | ||
developerId = 'davideas' | ||
developerName = 'Davide Steduto' | ||
developerEmail = '[email protected]' | ||
|
||
//Library | ||
libraryCode = 8 | ||
libraryVersion = '4.0.1' | ||
libraryDate = " of 2015.11.01" | ||
libraryDescription = 'A pattern for every RecyclerView' | ||
libraryName = 'FlexibleAdapter' | ||
|
||
//Library Repository | ||
bintrayRepo = 'maven' | ||
bintrayName = 'flexible-adapter' | ||
publishedGroupId = 'eu.davidea' | ||
artifact = bintrayName | ||
siteUrl = 'https://github.com/davideas/FlexibleAdapter' | ||
gitUrl = 'https://github.com/davideas/FlexibleAdapter.git' | ||
|
||
//Support and Build tools version | ||
minSdk = 14 | ||
targetSdk = 23 | ||
buildTools = '23.0.1' | ||
supportLibrary = '23.0.1' | ||
|
||
//Support Libraries dependencies | ||
supportDependencies = [ | ||
design : "com.android.support:design:${supportLibrary}", | ||
recyclerview : "com.android.support:recyclerview-v7:${supportLibrary}", | ||
cardview : "com.android.support:cardview-v7:${supportLibrary}", | ||
appcompat : "com.android.support:appcompat-v7:${supportLibrary}", | ||
customtabs : "com.android.support:customtabs:${supportLibrary}", | ||
support : "com.android.support:support-v13:${supportLibrary}'", | ||
annotations : "com.android.support:support-annotations:${supportLibrary}" | ||
] | ||
|
||
licenseName = 'The Apache Software License, Version 2.0' | ||
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
allLicenses = ["Apache-2.0"] | ||
} | ||
|
||
buildscript { | ||
repositories { | ||
jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:1.2.3' | ||
|
||
classpath 'com.android.tools.build:gradle:1.3.0' | ||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.3' | ||
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3' | ||
// NOTE: Do not place your application dependencies here; they belong | ||
// in the individual module build.gradle files | ||
} | ||
|
@@ -17,3 +60,7 @@ allprojects { | |
jcenter() | ||
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} |
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,34 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion targetSdk | ||
buildToolsVersion buildTools | ||
|
||
defaultConfig { | ||
applicationId "eu.davidea.examples.flexibleadapter" | ||
minSdkVersion minSdk | ||
targetSdkVersion targetSdk | ||
versionCode versionCode | ||
versionName libraryVersion + libraryDate | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
//compile 'eu.davidea:flexible-adapter:4.0.1' | ||
compile project (":flexible-adapter-lib") | ||
compile supportDependencies.appcompat | ||
compile (supportDependencies.design) { | ||
exclude module: 'support-v4' | ||
exclude module: 'support-annotations' | ||
} | ||
compile (supportDependencies.recyclerview) { | ||
exclude module: 'support-v4'; | ||
exclude module: 'support-annotations' | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
flexibleAdapter/src/main/AndroidManifest.xml → ...-adapter-app/src/main/AndroidManifest.xml
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...va/eu/davidea/anim/AnimateViewHolder.java → ...idea/examples/anim/AnimateViewHolder.java
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
2 changes: 1 addition & 1 deletion
2
...ava/eu/davidea/anim/BaseItemAnimator.java → ...videa/examples/anim/BaseItemAnimator.java
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
2 changes: 1 addition & 1 deletion
2
...eu/davidea/anim/FlipDownItemAnimator.java → ...a/examples/anim/FlipDownItemAnimator.java
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
2 changes: 1 addition & 1 deletion
2
.../eu/davidea/anim/FromTopItemAnimator.java → ...ea/examples/anim/FromTopItemAnimator.java
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
2 changes: 1 addition & 1 deletion
2
.../davidea/anim/GarageDoorItemAnimator.java → ...examples/anim/GarageDoorItemAnimator.java
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
2 changes: 1 addition & 1 deletion
2
.../eu/davidea/anim/PendingItemAnimator.java → ...ea/examples/anim/PendingItemAnimator.java
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package eu.davidea.anim; | ||
package eu.davidea.examples.anim; | ||
|
||
/** | ||
* This class handles the pending que for you. | ||
|
2 changes: 1 addition & 1 deletion
2
...eu/davidea/anim/SlideInRightAnimator.java → ...a/examples/anim/SlideInRightAnimator.java
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package eu.davidea.anim; | ||
package eu.davidea.examples.anim; | ||
|
||
/** | ||
* Copyright (C) 2015 Wasabeef | ||
|
2 changes: 1 addition & 1 deletion
2
...va/eu/davidea/anim/SlideItemAnimator.java → ...idea/examples/anim/SlideItemAnimator.java
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
2 changes: 1 addition & 1 deletion
2
...main/java/eu/davidea/anim/ViewHelper.java → .../eu/davidea/examples/anim/ViewHelper.java
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
2 changes: 1 addition & 1 deletion
2
...eu/davidea/fastscroller/FastScroller.java → ...a/examples/fastscroller/FastScroller.java
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
2 changes: 1 addition & 1 deletion
2
...videa/flexibleadapter/EditItemDialog.java → ...mples/flexibleadapter/EditItemDialog.java
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
2 changes: 1 addition & 1 deletion
2
...java/eu/davidea/flexibleadapter/Item.java → ...avidea/examples/flexibleadapter/Item.java
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package eu.davidea.flexibleadapter; | ||
package eu.davidea.examples.flexibleadapter; | ||
|
||
import java.io.Serializable; | ||
|
||
|
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
2 changes: 1 addition & 1 deletion
2
.../davidea/flexibleadapter/ProgressBar.java → ...examples/flexibleadapter/ProgressBar.java
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
Oops, something went wrong.