-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support incremental annotation processing and more:
* Switch from Support annotations library to `androidx.annotation` * Java 8 is now required * Minimum SDK increased from `9` to `14` (app shortcuts are still not available before `25`) * Update: Android Gradle plugin to `3.6.4` * Some small changes to bring everything to 2020
- Loading branch information
1 parent
a3f99c9
commit 2918a7d
Showing
28 changed files
with
265 additions
and
264 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Change Log | ||
========== | ||
|
||
Version 1.1.0 *(2020-07-21)* | ||
----------------------------- | ||
* New: Support for incremental annotation processing | ||
* Switch from Support annotations library to `androidx.annotation` | ||
* Java 8 is now required | ||
* Minimum SDK increased from `9` to `14` (app shortcuts are still not available before `25`) | ||
* Update: Android Gradle plugin to `3.6.4` | ||
* Some small changes to bring everything to 2020 | ||
|
||
|
||
Version 1.0.2 *(2017-09-24)* | ||
----------------------------- | ||
* Fix: Annotated methods are called before `onCreate()` (#13) | ||
* Update: Support annotations library to `26.0.2`. This requires the new Google Maven Repository: | ||
|
||
```groovy | ||
google() | ||
``` | ||
or | ||
```groovy | ||
maven { | ||
url "https://maven.google.com" | ||
} | ||
``` | ||
|
||
|
||
Version 1.0.1 *(2017-03-04)* | ||
----------------------------- | ||
|
||
* Fix: `Shortbread.create(context)` can now also be called if there are no `@Shortcut` annotations in the code, which before produced a crash. Previously created shortcuts are now removed. | ||
* Fix: Internal `NullPointerException` when an activity containing method shortcuts is not launched via a method shortcut | ||
* Add Javadoc for the public API | ||
|
||
|
||
Version 10.2.0 *(2017-02-11)* | ||
----------------------------- | ||
|
||
Initial release |
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 was deleted.
Oops, something went wrong.
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,37 +1,29 @@ | ||
buildscript { | ||
repositories { | ||
jcenter() | ||
google() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:2.3.3' | ||
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5' | ||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' | ||
classpath 'com.android.tools.build:gradle:3.6.4' | ||
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.12.0' | ||
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.5' | ||
} | ||
} | ||
|
||
allprojects { | ||
subprojects { | ||
repositories { | ||
jcenter() | ||
maven { | ||
url "https://maven.google.com" | ||
} | ||
google() | ||
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} | ||
|
||
ext { | ||
compileSdkVersion = 26 | ||
buildToolsVersion = '26.0.1' | ||
minSdkVersion = 9 | ||
targetSdkVersion = 26 | ||
sourceCompatibilityVersion = '1.7' | ||
targetCompatibilityVersion = '1.7' | ||
supportLibraryVersion = '26.0.2' | ||
|
||
githubUrl = 'https://github.com/matthiasrobbers/shortbread' | ||
gitUrl = 'https://github.com/matthiasrobbers/shortbread.git' | ||
libraryVersion = '1.0.2' | ||
compileSdkVersion = 29 | ||
buildToolsVersion = '29.0.3' | ||
minSdkVersion = 14 | ||
sourceCompatibilityVersion = JavaVersion.VERSION_1_8 | ||
targetCompatibilityVersion = JavaVersion.VERSION_1_8 | ||
androidxAnnotationVersion = '1.1.0' | ||
autoServiceVersion = '1.0-rc7' | ||
incapVersion = '0.3' | ||
} |
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,17 +1,20 @@ | ||
# Project-wide Gradle settings. | ||
org.gradle.jvmargs=-Xmx1536m | ||
android.useAndroidX=true | ||
|
||
# IDE (e.g. Android Studio) users: | ||
# Gradle settings configured through the IDE *will override* | ||
# any settings specified in this file. | ||
GROUP=com.github.matthiasrobbers | ||
VERSION_NAME=1.1.0 | ||
|
||
# For more details on how to configure your build environment visit | ||
# http://www.gradle.org/docs/current/userguide/build_environment.html | ||
POM_URL=https://github.com/matthiasrobbers/shortbread | ||
POM_SCM_URL=https://github.com/matthiasrobbers/shortbread | ||
POM_SCM_CONNECTION=scm:git:git://github.com/matthiasrobbers/shortbread.git | ||
POM_SCM_DEV_CONNECTION=scm:git:ssh://git@github.com/matthiasrobbers/shortbread.git | ||
|
||
# Specifies the JVM arguments used for the daemon process. | ||
# The setting is particularly useful for tweaking memory settings. | ||
org.gradle.jvmargs=-Xmx1536m | ||
POM_LICENCE_NAME=The Apache Software License, Version 2.0 | ||
POM_LICENCE_URL=https://www.apache.org/licenses/LICENSE-2.0.txt | ||
POM_LICENCE_DIST=repo | ||
|
||
POM_DEVELOPER_ID=matthiasrobbers | ||
POM_DEVELOPER_NAME=Matthias Robbers | ||
POM_DEVELOPER_URL=https://github.com/matthiasrobbers/ | ||
|
||
# When configured, Gradle will run in incubating parallel mode. | ||
# This option should only be used with decoupled projects. More details, visit | ||
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects | ||
# org.gradle.parallel=true | ||
RELEASE_SIGNING_ENABLED=false |
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,6 +1,6 @@ | ||
#Wed Mar 15 15:30:47 GMT 2017 | ||
#Tue Jun 30 22:07:02 CEST 2020 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip |
This file was deleted.
Oops, something went wrong.
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,12 @@ | ||
apply plugin: "com.vanniktech.maven.publish" | ||
|
||
mavenPublish { | ||
targets { | ||
uploadArchives { | ||
releaseRepositoryUrl = "https://api.bintray.com/content/matthiasrobbers/maven/" + | ||
"${project.findProperty("POM_ARTIFACT_ID")}/${project.findProperty("VERSION_NAME")}/" | ||
repositoryUsername = System.getenv("BINTRAY_USER") | ||
repositoryPassword = System.getenv("BINTRAY_KEY") | ||
} | ||
} | ||
} |
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
Oops, something went wrong.