forked from bumptech/glide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't publish :glide as anything to Maven repos
Build :glide as 'glide-full' to have a flat jar to be published on GitHub/releases Publish :library as 'group:glide' as AAR and JAR to Maven repos Make :third_party:gif_decoder and :third_party:disklrucache first-class published gradle dependencies Remove duplicated repositories, JAR_PREFIX, JAR_POSTFIX declarations (pull constants up to :integration and :third_party level) Fix JavaDoc generation (Error reading file: ${androidSdkDirectory}\docs\reference\package-list) Move JAR generation to upload.gradle (from integration/build.gradle) so it's used by :library as well Add javadoc and sources JAR generation to upload.gradle for non-android projects as well
- Loading branch information
1 parent
734c54c
commit c898281
Showing
22 changed files
with
76 additions
and
83 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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
POM_NAME=Glide | ||
POM_ARTIFACT_ID=glide | ||
POM_NAME=Glide Full | ||
POM_ARTIFACT_ID=glide-full | ||
POM_PACKAGING=jar | ||
|
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,15 +1 @@ | ||
evaluationDependsOnChildren() | ||
|
||
import com.android.build.gradle.api.BaseVariant | ||
subprojects { | ||
android.libraryVariants.all { BaseVariant variant -> | ||
def jarTask = project.tasks.create(name: "jar${variant.name.capitalize()}", type: Jar) { | ||
from variant.javaCompile.destinationDir | ||
exclude "**/R.class" | ||
exclude "**/BuildConfig.class" | ||
baseName "glide-${project.name}-integration" | ||
} | ||
jarTask.dependsOn variant.javaCompile | ||
artifacts.add('archives', jarTask); | ||
} | ||
} | ||
// keep an empty file to make sure Gradle recognizes the properties |
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,3 @@ | ||
# Prefix and postfix for source and javadoc jars. | ||
JAR_PREFIX=glide- | ||
JAR_POSTFIX=-integration |
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
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 |
---|---|---|
|
@@ -132,3 +132,5 @@ afterEvaluate { | |
} | ||
} | ||
} | ||
|
||
apply from: "${rootProject.projectDir}/scripts/upload.gradle" |
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,3 +1,7 @@ | ||
POM_NAME=Glide Library | ||
POM_ARTIFACT_ID=library | ||
POM_NAME=Glide | ||
POM_ARTIFACT_ID=glide | ||
POM_PACKAGING=aar | ||
|
||
# Prefix and postfix for source and javadoc jars. | ||
JAR_PREFIX=glide- | ||
JAR_POSTFIX= |
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,11 @@ | ||
POM_NAME=Glide Gif Decoder Library | ||
POM_ARTIFACT_ID=gifdecoder | ||
POM_PACKAGING=aar | ||
|
||
VERSION_NAME=1.0.0-SNAPSHOT | ||
VERSION_MAJOR=1 | ||
VERSION_MINOR=0 | ||
VERSION_PATCH=0 | ||
VERSION_CODE=1 | ||
|
||
POM_DESCRIPTION=Implementation of GifDecoder that is more memory efficient to animate for Android devices. |
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 @@ | ||
# Prefix and postfix for source and javadoc jars. | ||
JAR_PREFIX=glide- | ||
JAR_POSTFIX=-thirdparty |