Skip to content
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

Announce support for JDK17 #18383

Merged
merged 6 commits into from Sep 24, 2021
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: 1 addition & 1 deletion build-logic/build-platform/build.gradle.kts
Expand Up @@ -4,7 +4,7 @@ plugins {

// Here you should declare versions which should be shared by the different modules of buildSrc itself
val javaParserVersion = "3.18.0"
val groovyVersion = "3.0.8"
val groovyVersion = "3.0.9"
val asmVersion = "9.2"

val kotlinVersion = providers.gradleProperty("buildKotlinVersion")
Expand Down
Expand Up @@ -20,7 +20,7 @@ import gradlebuild.modules.model.License

abstract class ExternalModulesExtension {

val groovyVersion = "3.0.8"
val groovyVersion = "3.0.9"
val kotlinVersion = "1.5.31"

fun futureKotlin(module: String) = "org.jetbrains.kotlin:kotlin-$module:$kotlinVersion"
Expand Down
47 changes: 47 additions & 0 deletions gradle/verification-keyring.keys
Expand Up @@ -14410,3 +14410,50 @@ COwRkbgKnHC7P+tBBz9ZcwgaaUDznWOa/Kc+PmH/EJEVkRb/VSwy7BKzJCRkgSUK
+0dwSoh3NyBxizsAWePMOK157AXfExz+iRUK
=ynq3
-----END PGP PUBLIC KEY BLOCK-----

pub 431B8F80403A7DC1
uid Roger Howell <MysterAitch@users.noreply.github.com>

sub 8BA78B161991D5F7
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: BCPG v1.68

mQGNBGCUUBoBDACeEhanQ9NCKz433a6hQm7MJjAt6Qw25Rz4TBpV/IH/JAIE1Up2
4qVaD7lnRbhCXSn4hWmOZl+RfOVyrQgMIQA9ZSRNMAWRAldp6jdcSCKwzKzyPiSH
Z/7BMbEmV85EGjNMEblTM8lp4q51zjJl5GZdIGi4OET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hS95bDxy49RaW1HibH35XvpQrq4qFj1
lUoHXXVsAi35aML3XqvzXw+0jIBoMK58iKoL1HmPjTn5HeQFdN4BvLt1BA==
=jtS6
-----END PGP PUBLIC KEY BLOCK-----
3 changes: 3 additions & 0 deletions gradle/verification-metadata.xml
Expand Up @@ -153,6 +153,9 @@
<trusting group="org.codenarc"/>
<trusting group="org.gmetrics"/>
</trusted-key>
<trusted-key id="a55830120aed177e1aa4f66a431b8f80403a7dc1">
<trusting group="com.github.javaparser"/>
</trusted-key>
<trusted-key id="8756c4f765c9ac3cb6b85d62379ce192d401ab61">
<trusting group="^org[.]jetbrains($|([.].*))" regex="true"/>
<trusting group="com.github.javaparser"/>
Expand Down
@@ -1,7 +1,7 @@
#Generated file, please do not edit - Version values used in build-init templates
commons-math=3.6.1
commons-text=1.9
groovy=3.0.8
groovy=3.0.9
guava=30.1.1-jre
junit-jupiter=5.7.2
junit=4.13.2
Expand Down
4 changes: 4 additions & 0 deletions subprojects/docs/src/docs/release/notes.md
Expand Up @@ -66,6 +66,10 @@ vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

## New features and usability improvements

### Support for Java 17

Gradle 7.3 supports compiling, testing and running on Java 17.

<a name="tooling-api"></a>
### Tooling API improvements

Expand Down
5 changes: 3 additions & 2 deletions subprojects/docs/src/docs/userguide/compatibility.adoc
Expand Up @@ -17,7 +17,7 @@
The sections below describe Gradle's compatibility with several integrations. Other versions not listed here may or may not work.

== Java
A Java version between 8 and 16 is required to execute Gradle. Java 17 and later versions are not yet supported.
A Java version between 8 and 17 is required to execute Gradle. Java 18 and later versions are not yet supported.

Java 6 and 7 can still be used for <<building_java_projects.adoc#sec:java_cross_compilation,compilation and forked test execution>>.

Expand All @@ -38,13 +38,14 @@ For older Gradle versions, please see the table below which Java version is supp
|14|6.3
|15|6.7
|16|7.0
|17|7.3
|===

== Kotlin
Gradle is tested with Kotlin 1.3.72 through 1.5.31.

== Groovy
Gradle is tested with Groovy 1.5.8 through 3.0.8.
Gradle is tested with Groovy 1.5.8 through 3.0.9.

== Android
Gradle is tested with Android Gradle Plugin 4.1, 4.2, 7.0 and 7.1. Alpha and beta versions may or may not work.
Expand Up @@ -41,6 +41,7 @@ Some plugins will break with this new version of Gradle, for example because the
==== Updates to bundled Gradle dependencies

- Kotlin has been updated to https://github.com/JetBrains/kotlin/releases/tag/v1.5.31[Kotlin 1.5.31].
- Groovy has been updated to https://groovy-lang.org/changelogs/changelog-3.0.9.html[Groovy 3.0.9].

==== Application order of plugins in the `plugins` block

Expand Down
Expand Up @@ -11,7 +11,7 @@ repositories {
}

dependencies {
implementation 'org.codehaus.groovy:groovy-all:3.0.8'
implementation 'org.codehaus.groovy:groovy-all:3.0.9'
}

publishing {
Expand Down
Expand Up @@ -11,7 +11,7 @@ repositories {
}

dependencies {
implementation("org.codehaus.groovy:groovy-all:3.0.8")
implementation("org.codehaus.groovy:groovy-all:3.0.9")
}

publishing {
Expand Down
Expand Up @@ -30,7 +30,7 @@ abstract class AbstractSourcesAndJavadocJarsIntegrationTest extends AbstractIdeI
@Rule
HttpServer server

String groovyVersion = "3.0.8"
String groovyVersion = "3.0.9"

def setup() {
server.start()
Expand Down
Expand Up @@ -39,7 +39,7 @@ import org.gradle.util.internal.ClosureBackedAction
import static org.gradle.model.ModelTypeTesting.fullyQualifiedNameOf
import static org.gradle.util.internal.TextUtil.normaliseLineSeparators

abstract class NodeBackedModelMapSpec<T extends Named, S extends T & Special> extends ProjectRegistrySpec {
abstract class NodeBackedModelMapSpec<T extends Named, S extends Special & T> extends ProjectRegistrySpec {
abstract Class<T> getItemClass()
abstract Class<S> getSpecialItemClass()
ModelType<T> getItemType() { ModelType.of(itemClass) }
Expand Down
Expand Up @@ -43,7 +43,7 @@ class GroovyRuntimeTest extends AbstractProjectBuilderSpec {
}

def "inferred Groovy3 class path uses 'groovy' jars from classpath if all required pieces are found"() {
def groovyVersion = "3.0.8"
def groovyVersion = "3.0.9"

when:
def classpath = project.groovyRuntime.inferGroovyClasspath([
Expand Down

This file was deleted.