-
-
Notifications
You must be signed in to change notification settings - Fork 735
feat: update all dependencies and modernize the source base #1095
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 27 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
6d7f5c6
Update all dependencies
azlekov 083850f
Newer java features and code optimization
azlekov c7b1f7e
Merge branch 'master' into new-hope
azlekov d53e6ac
Update jacoco and report coverage
azlekov a6cd865
Replace travis with gh actions
azlekov 42ddfc8
Update ParseCommandCache.java
azlekov 09cf1fb
Specify Java 1.8 in compileOptions
azlekov 12771e5
Use source and javadoc gradle plugins
azlekov 5dad62c
Update dependencies
azlekov 3c1e015
Update ci.yml
azlekov da30907
Update ci.yml
azlekov 9143532
Update compatibility versions
azlekov cb7afde
Update ci.yml
azlekov 1d07965
Update ci.yml
azlekov c49accc
Update min sdk version to 15
azlekov 67d3d13
Update min sdk version to 16
azlekov 2e065d8
Update ci.yml
azlekov daf8d58
Merge branch 'master' into new-hope
mtrezza f89d7e8
Fix jacoco test coverage
azlekov 3c4302b
Update .codecov.yml
azlekov cacca27
Update ci.yml
azlekov a4e9dac
Charset and locales fixes
azlekov ddc550b
Organize imports
azlekov f3d714d
Replace jcenter with mavenCentral
azlekov e1cc2f7
Update CHANGELOG.md
azlekov 9632fa5
refactor changelog
mtrezza a2b61f9
Update ParseFirebaseMessagingService.java
azlekov b9f7a89
Revert removal of UTF-8 encodings
azlekov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,11 +1,11 @@ | ||
| coverage: | ||
| precision: 2 | ||
| round: down | ||
| range: "45...100" | ||
| range: "65...100" | ||
|
|
||
| status: | ||
| project: | ||
| project: | ||
| default: | ||
| target: 45% | ||
| target: 65% | ||
| patch: yes | ||
| changes: no | ||
This file contains hidden or 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,27 @@ | ||
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | ||
|
|
||
| name: ci | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| pull_request: | ||
| branches: | ||
| - '**' | ||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - name: Set up JDK 11 | ||
| uses: actions/setup-java@v2 | ||
| with: | ||
| java-version: '11' | ||
| distribution: 'adopt' | ||
| - name: Validate Gradle wrapper | ||
| uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b | ||
| - run: pip install --user codecov | ||
| - run: mkdir "$ANDROID_HOME/licenses" || true | ||
| - run: echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" >> "$ANDROID_HOME/licenses/android-sdk-license" | ||
| - run: ./gradlew clean jacocoTestReport | ||
| - run: codecov |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -6,30 +6,19 @@ | |
| apply plugin: 'java' | ||
| apply plugin: 'maven' | ||
|
|
||
| configurations { | ||
| provided | ||
| } | ||
|
|
||
| sourceSets { | ||
| main { | ||
| compileClasspath += configurations.provided | ||
| } | ||
| } | ||
|
|
||
| dependencies { | ||
| provided 'com.google.android:android:4.1.1.4' | ||
| testImplementation 'junit:junit:4.12' | ||
| compileOnly 'com.google.android:android:4.1.1.4' | ||
| testImplementation 'junit:junit:4.13.2' | ||
| } | ||
|
|
||
|
|
||
| javadoc.options.addStringOption('Xdoclint:none', '-quiet') | ||
|
|
||
| task sourcesJar(type: Jar) { | ||
| classifier = 'sources' | ||
| from sourceSets.main.allJava | ||
| } | ||
|
|
||
| task javadocJar (type: Jar, dependsOn: javadoc) { | ||
| task javadocJar(type: Jar, dependsOn: javadoc) { | ||
| classifier = 'javadoc' | ||
| from javadoc.destinationDir | ||
| } | ||
|
|
@@ -45,10 +34,6 @@ artifacts { | |
|
|
||
| apply plugin: 'jacoco' | ||
|
|
||
| jacoco { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why removal of this? Other files still have this block.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice catch! Feel free to add it to your #1122 |
||
| toolVersion = '0.7.1.201405082137' | ||
| } | ||
|
|
||
| jacocoTestReport { | ||
| group = "Reporting" | ||
| description = "Generate Jacoco coverage reports after running tests." | ||
|
|
@@ -59,3 +44,8 @@ jacocoTestReport { | |
| } | ||
|
|
||
| //endregion | ||
|
|
||
| java { | ||
| sourceCompatibility = JavaVersion.VERSION_1_8 | ||
| targetCompatibility = JavaVersion.VERSION_1_8 | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.