diff --git a/.github/release-please.yml b/.github/release-please.yml index 72ef01bed..f35b7ebdb 100644 --- a/.github/release-please.yml +++ b/.github/release-please.yml @@ -6,3 +6,7 @@ branches: bumpMinorPreMajor: true branch: 1.10.1-sp handleGHRelease: true + - bumpMinorPreMajor: true + handleGHRelease: true + releaseType: java-yoshi + branch: java7 diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 7c26125bd..c4edd6e37 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -20,6 +20,15 @@ branchProtectionRules: requiredApprovingReviewCount: 1 requiresCodeOwnerReviews: true requiresStrictStatusChecks: true + - pattern: java7 + isAdminEnforced: true + requiredStatusCheckContexts: + - units + - format + - cla/google + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: true permissionRules: - team: Googlers permission: pull diff --git a/CHANGELOG.md b/CHANGELOG.md index d99737a0b..d76f8547c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## [2.0.0](https://www.github.com/googleapis/api-common-java/compare/v1.10.6...v2.0.0) (2021-07-29) + + +### ⚠ BREAKING CHANGES + +* update api-common-java min java version to java8 (#251) + +### Features + +* update api-common-java min java version to java8 ([#251](https://www.github.com/googleapis/api-common-java/issues/251)) ([7fe322c](https://www.github.com/googleapis/api-common-java/commit/7fe322cef65bdcc9549ddc9efa1ff95df36cc531)) + + +### Dependencies + +* update guava version to 30.1.1-jre ([7fe322c](https://www.github.com/googleapis/api-common-java/commit/7fe322cef65bdcc9549ddc9efa1ff95df36cc531)) + ### [1.10.5](https://www.github.com/googleapis/api-common-java/compare/v1.10.5...v1.10.5) (2021-07-27) diff --git a/build.gradle b/build.gradle index 789d4a029..46e37aa8b 100644 --- a/build.gradle +++ b/build.gradle @@ -27,10 +27,10 @@ apply plugin: 'io.codearte.nexus-staging' group = "com.google.api" archivesBaseName = "api-common" -project.version = "1.10.6" // {x-version-update:api-common:current} +project.version = "2.0.0" // {x-version-update:api-common:current} -sourceCompatibility = 1.7 -targetCompatibility = 1.7 +sourceCompatibility = 1.8 +targetCompatibility = 1.8 jacoco { toolVersion = "0.8.7" @@ -45,7 +45,7 @@ ext { javax_annotations: 'javax.annotation:javax.annotation-api:1.3.2', auto_value: 'com.google.auto.value:auto-value:1.8.2', auto_value_annotations: 'com.google.auto.value:auto-value-annotations:1.8.2', - guava: 'com.google.guava:guava:30.1.1-android', + guava: 'com.google.guava:guava:30.1.1-jre', jsr305: 'com.google.code.findbugs:jsr305:3.0.2', error_prone_annotations: 'com.google.errorprone:error_prone_annotations:2.8.0', diff --git a/versions.txt b/versions.txt index 6ffd0258a..8cca1209e 100644 --- a/versions.txt +++ b/versions.txt @@ -1,4 +1,4 @@ # Format: # module:released-version:current-version -api-common:1.10.6:1.10.6 \ No newline at end of file +api-common:2.0.0:2.0.0 \ No newline at end of file