GeezerVison is showing github.com — Merge branch 'release/1.1' · johnkil/Android-AppMsg@1d14b72
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .directory -5Lines changed: 0 additions & 5 deletions Collapse file
Copy file name to clipboard +23-27Lines changed: 23 additions & 27 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -# built application files |
2 | | -*.apk |
3 | | -*.ap_ |
| 1 | +#Android generated |
| 2 | +bin |
| 3 | +gen |
4 | 4 |
|
5 | | -# files for the dex VM |
6 | | -*.dex |
7 | | - |
8 | | -# Java class files |
9 | | -*.class |
10 | | - |
11 | | -# generated files |
12 | | -bin/ |
13 | | -gen/ |
14 | | -.gradle/ |
15 | | -**/build/ |
16 | | - |
17 | | -# Local configuration file (sdk path, etc) |
18 | | -local.properties |
19 | | - |
20 | | -library/.classpath |
21 | | -library/.project |
22 | | -sample/.classpath |
23 | | -sample/.project |
| 5 | +#Eclipse |
| 6 | +.project |
| 7 | +.classpath |
| 8 | +.settings |
24 | 9 |
|
25 | 10 | #IntelliJ IDEA |
26 | 11 | .idea |
27 | 12 | *.iml |
28 | 13 | *.ipr |
29 | 14 | *.iws |
30 | | -classes |
31 | | -gen-external-apklibs |
32 | | -atlassian-ide-plugin.xml |
| 15 | +out |
33 | 16 |
|
34 | 17 | #Maven |
35 | 18 | target |
36 | 19 | release.properties |
37 | 20 | pom.xml.* |
38 | 21 |
|
39 | | -#Others |
40 | | -.directory |
| 22 | +#Ant |
| 23 | +build.xml |
| 24 | +local.properties |
| 25 | +proguard.cfg |
| 26 | +proguard-project.txt |
| 27 | + |
| 28 | +#Gradle |
| 29 | +.gradle |
| 30 | +build |
| 31 | + |
| 32 | +#OSX |
| 33 | +.DS_Store |
| 34 | + |
| 35 | +#Personal Files |
| 36 | +signing.properties |
Collapse file
Copy file name to clipboardExpand all lines: CHANGELOG.md +11-3Lines changed: 11 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2,14 +2,22 @@ Change Log |
2 | 2 | ========== |
3 | 3 |
|
4 | 4 |
|
| 5 | +Version 1.1.0 *(2013-10-08)* |
| 6 | +---------------------------- |
| 7 | + |
| 8 | + * Publish an aar file to Maven Central with Gradle. |
| 9 | + * Fix: Add missing piece to the build.gradle. |
| 10 | + * Fix: Updated the version of android-maven-plugin to build with the most recent Android SDK. |
| 11 | + |
| 12 | + |
5 | 13 | Version 1.0.1 *(2013-01-07)* |
6 | 14 | ---------------------------- |
7 | 15 |
|
8 | | - * Formatting of the source code |
9 | | - * Bugfix |
| 16 | + * Formatting of the source code. |
| 17 | + * Bugfix. |
10 | 18 |
|
11 | 19 |
|
12 | 20 | Version 1.0.0 *(2012-12-23)* |
13 | | --------------------------- |
| 21 | +---------------------------- |
14 | 22 |
|
15 | 23 | Initial release. |
Collapse file
Copy file name to clipboardExpand all lines: README.md +11Lines changed: 11 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -66,6 +66,17 @@ To display the item you need the following code: |
66 | 66 | AppMsg.makeText(/*Activity*/, /*CharSequence*/, /*AppMsg.Style*/).show(); |
67 | 67 | ``` |
68 | 68 |
|
| 69 | +Gradle |
| 70 | +------ |
| 71 | + |
| 72 | +Android-AppMsg Library is now pushed to Maven Central as a AAR, so you just need to add the following dependency to your build.gradle. |
| 73 | + |
| 74 | +``` xml |
| 75 | +dependencies { |
| 76 | + compile 'io.github.johnkil:android-appmsg:1.1' |
| 77 | +} |
| 78 | +``` |
| 79 | + |
69 | 80 | Contribution |
70 | 81 | ------------ |
71 | 82 |
|
|
Collapse file
Copy file name to clipboardExpand all lines: build.gradle +16-1Lines changed: 16 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -4,7 +4,22 @@ buildscript { |
4 | 4 | } |
5 | 5 |
|
6 | 6 | dependencies { |
7 | | - classpath 'com.android.tools.build:gradle:0.4' |
| 7 | + classpath 'com.android.tools.build:gradle:0.5.+' |
8 | 8 | } |
9 | 9 | } |
10 | 10 |
|
| 11 | +def isReleaseBuild() { |
| 12 | + return version.contains("SNAPSHOT") == false |
| 13 | +} |
| 14 | + |
| 15 | +allprojects { |
| 16 | + version = VERSION_NAME |
| 17 | + group = GROUP |
| 18 | + |
| 19 | + repositories { |
| 20 | + mavenCentral() |
| 21 | + } |
| 22 | +} |
| 23 | + |
| 24 | +apply plugin: 'android-reporting' |
| 25 | + |
Collapse file
Copy file name to clipboard +14Lines changed: 14 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +VERSION_NAME=1.1-SNAPSHOT |
| 2 | +VERSION_CODE=3 |
| 3 | +GROUP=io.github.johnkil |
| 4 | + |
| 5 | +POM_DESCRIPTION=In-layout android notifications |
| 6 | +POM_URL=http://johnkil.github.io/Android-AppMsg |
| 7 | +POM_SCM_URL=https://github.com/johnkil/Android-AppMsg |
| 8 | + |
| 9 | + |
| 10 | +POM_LICENCE_NAME=The Apache Software License, Version 2.0 |
| 11 | +POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt |
| 12 | +POM_LICENCE_DIST=repo |
| 13 | +POM_DEVELOPER_ID=johnkil |
| 14 | +POM_DEVELOPER_NAME=Evgeny Shishkin |
Collapse file
Copy file name to clipboard +5-3Lines changed: 5 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 | 2 | package="com.devspark.appmsg" |
3 | | - android:versionCode="2" |
4 | | - android:versionName="1.0.1" > |
| 3 | + android:versionCode="3" |
| 4 | + android:versionName="1.1" > |
5 | 5 |
|
6 | 6 | <uses-sdk |
7 | 7 | android:minSdkVersion="4" |
8 | | - android:targetSdkVersion="16" /> |
| 8 | + android:targetSdkVersion="18" /> |
| 9 | + |
| 10 | + <application /> |
9 | 11 |
|
10 | 12 | </manifest> |
Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboard +5-12Lines changed: 5 additions & 12 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -buildscript { |
2 | | - repositories { |
3 | | - mavenCentral() |
4 | | - } |
5 | | - |
6 | | - dependencies { |
7 | | - classpath 'com.android.tools.build:gradle:0.5.+' |
8 | | - } |
9 | | -} |
10 | | - |
11 | 1 | apply plugin: 'android-library' |
12 | 2 |
|
13 | 3 | android { |
14 | | - compileSdkVersion 17 |
15 | | - buildToolsVersion '17' |
| 4 | + compileSdkVersion 18 |
| 5 | + buildToolsVersion '17.0.0' |
16 | 6 |
|
17 | 7 | sourceSets { |
18 | 8 | main { |
@@ -22,3 +12,6 @@ android { |
22 | 12 | } |
23 | 13 | } |
24 | 14 | } |
| 15 | + |
| 16 | +// Used to push in maven |
| 17 | +// apply from: '../maven_push.gradle' |
Collapse file
Copy file name to clipboard +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +POM_NAME=Android-AppMsg Library |
| 2 | +POM_ARTIFACT_ID=android-appmsg |
| 3 | +POM_PACKAGING=aar |