Skip to content

Commit

Permalink
Bump gradle from 7.1.3 to 7.2.0 (#403)
Browse files Browse the repository at this point in the history
* Bump gradle from 7.1.3 to 7.2.0

Bumps gradle from 7.1.3 to 7.2.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Gradle version

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Roush <4317255+TomRoush@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and TomRoush authored May 10, 2022
1 parent c5fc9c6 commit ad6b957
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
jcenter() // jp2-android
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'com.android.tools.build:gradle:7.2.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Feb 06 22:46:08 CST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
11 changes: 5 additions & 6 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ android {
compileOptions.encoding = 'UTF-8'

defaultConfig {
testInstrumentationRunnerArguments notAnnotation: 'androidx.test.filters.FlakyTest'
minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION)
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
versionName project.VERSION_NAME
versionCode Integer.parseInt(project.VERSION_CODE)
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArgument "notAnnotation", "androidx.test.filters.FlakyTest"
}

buildTypes {
Expand All @@ -27,9 +25,6 @@ android {
}
}

lintOptions {
abortOnError false
}

testOptions {
unitTests.returnDefaultValues = true
Expand All @@ -43,6 +38,10 @@ android {
assets.srcDirs = ['src/test/resources']
}
}
lint {
abortOnError false
}
namespace 'com.tom_roush.pdfbox'

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
Expand Down
3 changes: 1 addition & 2 deletions library/src/androidTest/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tom_roush.pdfbox">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
</manifest>
2 changes: 1 addition & 1 deletion library/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.tom_roush.pdfbox">
<manifest>
</manifest>
7 changes: 4 additions & 3 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ android {
}
}

lintOptions {
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lint {
abortOnError false
}
namespace 'com.tom_roush.pdfbox.sample'
}

dependencies {
Expand Down
3 changes: 1 addition & 2 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tom_roush.pdfbox.sample" >
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<application
android:allowBackup="true"
Expand Down

0 comments on commit ad6b957

Please sign in to comment.