File tree Expand file tree Collapse file tree 4 files changed +22
-19
lines changed Expand file tree Collapse file tree 4 files changed +22
-19
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ repositories {
44
44
}
45
45
46
46
dependencies {
47
- compile 'com.commonsware.cwac:merge:1.1.0 '
47
+ compile 'com.commonsware.cwac:merge:1.1.+ '
48
48
}
49
49
```
50
50
@@ -166,7 +166,7 @@ that do not work on API Level 4 and are not noted as requiring a higher version.
166
166
167
167
Version
168
168
-------
169
- This is version v1.1.0 of this module.
169
+ This is version v1.1.1 of this module.
170
170
171
171
For those of you updating from a previous version, please note that you need
172
172
a new edition of the ` SackOfViewsAdapter ` JAR as well.
@@ -201,6 +201,7 @@ Do not ask for help via Twitter.
201
201
202
202
Release Notes
203
203
-------------
204
+ - v1.1.1: updated for Android Studio 1.0 and new AAR publishing system
204
205
- v1.1.0: added ` android:minSdkVersion ` to library manifest
205
206
- v1.0.4: added ` cwac- ` prefix to JAR
206
207
- v1.0.3: re-fixed manifest to better handle manifest merging per issue #14
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
5
5
jcenter()
6
6
}
7
7
dependencies {
8
- classpath ' com.android.tools.build:gradle:0.14.+ '
8
+ classpath ' com.android.tools.build:gradle:1.0.0 '
9
9
10
10
// NOTE: Do not place your application dependencies here; they belong
11
11
// in the individual module build.gradle files
Original file line number Diff line number Diff line change 1
- apply plugin : ' android'
1
+ apply plugin : ' com. android.application '
2
2
3
3
repositories {
4
4
maven {
Original file line number Diff line number Diff line change 1
- buildscript {
2
- repositories {
3
- mavenCentral()
4
- }
5
- dependencies {
6
- classpath ' com.github.dcendents:android-maven-plugin:1.2'
7
- }
8
- }
9
-
10
- apply plugin : ' android-library'
11
- apply plugin : ' android-maven'
12
-
13
- version ' 1.1.0'
14
- group ' com.commonsware.cwac'
1
+ apply plugin : ' com.android.library'
15
2
16
3
repositories {
17
4
maven {
@@ -53,5 +40,20 @@ android.libraryVariants.all { variant ->
53
40
def task = project. tasks. create " jar${ name.capitalize()} " , Jar
54
41
task. dependsOn variant. javaCompile
55
42
task. from variant. javaCompile. destinationDir
56
- task. archiveName = " cwac-${ task.archiveName} "
43
+ task. baseName = " cwac-${ PUBLISH_ARTIFACT_ID} "
44
+ task. version = PUBLISH_VERSION
45
+ task. exclude(' com/commonsware/cwac/**/BuildConfig.**' )
57
46
}
47
+
48
+ apply plugin : ' maven'
49
+
50
+ uploadArchives {
51
+ repositories. mavenDeployer {
52
+ pom. groupId = PUBLISH_GROUP_ID
53
+ pom. artifactId = PUBLISH_ARTIFACT_ID
54
+ pom. version = PUBLISH_VERSION
55
+
56
+ repository(url : LOCAL_REPO )
57
+ }
58
+ }
59
+
You can’t perform that action at this time.
0 commit comments