Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Upgrade appengine-plugins-core 0.10.0 #462

Merged
merged 6 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.

## 2.4.6-SNAPSHOT

* Update to appengine-plugins-core 0.10.0 that supports GAE java17 and java21 runtimes.

## 2.4.5
### Changed
* Update to appengine-plugins-core 0.9.9, for automatic Java 17 compatibility when running local devserver [appengine-plugins-core#894](https://github.com/GoogleCloudPlatform/appengine-plugins-core/pull/894).
Expand Down
14 changes: 13 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ group = "com.google.cloud.tools"
dependencies {
implementation(localGroovy())
implementation(gradleApi())
api("com.google.cloud.tools:appengine-plugins-core:0.9.9")
api("com.google.cloud.tools:appengine-plugins-core:0.10.0")

testImplementation("commons-io:commons-io:2.11.0")
testImplementation("junit:junit:4.13.2")
Expand Down Expand Up @@ -77,6 +77,18 @@ tasks.withType<JavaCompile>().configureEach {
)
}

// Gradle 6 needs a special treatment for Guava 31+; otherwise you get "... However we
// cannot choose between the following variants..." error.
// https://github.com/google/guava/releases/tag/v32.1.0
sourceSets.all {
configurations.getByName(runtimeClasspathConfigurationName) {
attributes.attribute(Attribute.of("org.gradle.jvm.environment", String::class.java), "standard-jvm")
}
configurations.getByName(compileClasspathConfigurationName) {
attributes.attribute(Attribute.of("org.gradle.jvm.environment", String::class.java), "standard-jvm")
}
}

/* TESTING */
tasks.test.configure {
testLogging {
Expand Down