Skip to content

Commit

Permalink
fixed manifest to better handle manifest merging
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsguy committed Jun 22, 2014
1 parent 16d4002 commit 26447e1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
11 changes: 7 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ repositories {
}
dependencies {
compile 'com.commonsware.cwac:merge:1.0.1'
compile 'com.commonsware.cwac:merge:1.0.2'
}
```

Expand Down Expand Up @@ -155,15 +155,16 @@ Dependencies
This project requires the [CWAC SackOfViewsAdapter][sacklist].
A copy of a compatible JAR can be found in the `libs/` directory of
the project, though you are welcome to try newer ones, or
ones that you have patched yourself.
ones that you have patched yourself. Users of the AAR artifact will automatically
download this dependency.

This project should work on API Level 4 and higher, except for any portions that
may be noted otherwise in this document. Please report bugs if you find features
that do not work on API Level 4 and are not noted as requiring a higher version.

Version
-------
This is version v1.0.1 of this module.
This is version v1.0.2 of this module.

For those of you updating from a previous version, please note that you need
a new edition of the `SackOfViewsAdapter` JAR as well.
Expand All @@ -186,7 +187,8 @@ file.
Questions
---------
If you have questions regarding the use of this code, please post a question
on [StackOverflow](http://stackoverflow.com/questions/ask) tagged with `commonsware` and `android`. Be sure to indicate
on [StackOverflow](http://stackoverflow.com/questions/ask) tagged with
`commonsware-cwac` and `android` after [searching to see if there already is an answer](https://stackoverflow.com/search?q=[android]+mergeadapter). Be sure to indicate
what CWAC module you are having issues with, and be sure to include source code
and stack traces if you are encountering crashes.

Expand All @@ -197,6 +199,7 @@ Do not ask for help via Twitter.

Release Notes
-------------
- v1.0.2: fixed manifest to better handle manifest merging
- v1.0.1: added Gradle files and published AAR
- v1.0.0: milestone considered reached
- v0.4.0: added `setActive()`
Expand Down
6 changes: 3 additions & 3 deletions demo/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.11.+'
}
}

Expand All @@ -16,12 +16,12 @@ repositories {
}

dependencies {
compile 'com.commonsware.cwac:merge:1.0.1'
compile 'com.commonsware.cwac:merge:1.0.+'
}

android {
compileSdkVersion 17
buildToolsVersion "18.1.0"
buildToolsVersion "19.1.0"

sourceSets {
main {
Expand Down
5 changes: 1 addition & 4 deletions merge/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@
android:versionCode="1"
android:versionName="1.0">

<application android:allowBackup="false">
</application>

</manifest>
</manifest>
8 changes: 4 additions & 4 deletions merge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
classpath 'com.android.tools.build:gradle:0.11.+'
classpath 'com.github.dcendents:android-maven-plugin:1.0'
}
}

apply plugin: 'android-library'
apply plugin: 'android-maven'

version '1.0.1'
version '1.0.2'
group 'com.commonsware.cwac'

repositories {
Expand All @@ -27,7 +27,7 @@ dependencies {

android {
compileSdkVersion 17
buildToolsVersion "18.1.0"
buildToolsVersion "19.1.0"

sourceSets {
main {
Expand All @@ -49,7 +49,7 @@ android {

android.libraryVariants.all { variant ->
def name = variant.buildType.name
if (name.equals(com.android.builder.BuilderConstants.DEBUG)) {
if (name.equals(com.android.builder.core.BuilderConstants.DEBUG)) {
return; // Skip debug builds.
}
def task = project.tasks.create "jar${name.capitalize()}", Jar
Expand Down

0 comments on commit 26447e1

Please sign in to comment.