Skip to content

Commit

Permalink
Build with Java 11. Compiler warnings due to deprecated API usage not…
Browse files Browse the repository at this point in the history
… cleaned up yet
  • Loading branch information
bobbylight committed Nov 23, 2024
1 parent de0604f commit a361d8f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ all unit tests, and create the jar, run:

./gradlew build --warning-mode all

RSTA 3.0 and newer requires Java 8 to compile and run. If you need
Java 6 compatibility, you'll need to use a 2.6.x version.
RSTA 4.0 and later requires Java 11 to compile and run. If you need
to support older Java versions:

| RSTA Version | Required to build (JDK) | Requird to run (JRE) |
|--------------|-------------------------|----------------------|
| 4.x | 11 | 11 |
| 3.x | 11 | 8 |
| 2.6.x | 6 | 6 |

# Demos

Expand Down
8 changes: 5 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Note that Maven- and signing-related properties are in <maven-home>/gradle.properties
javaLanguageVersion=8
osgiRequiredCompatibility=1.8
version=3.5.3-SNAPSHOT

# This controls the javac "release" version.
javaLanguageVersion=11
osgiRequiredCompatibility=11
version=4.0.0-SNAPSHOT

# Ugh, see https://github.com/gradle/gradle/issues/11308
systemProp.org.gradle.internal.publish.checksums.insecure=true

0 comments on commit a361d8f

Please sign in to comment.