Skip to content

Commit

Permalink
Target of v2 is Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarg committed Aug 11, 2024
1 parent 85c8f8b commit 5bdb3f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down
2 changes: 1 addition & 1 deletion kobalt/src/Build.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ val jcommander = project {
}

javaCompiler {
args("-target", "1.8", "-source", "1.8", "-g", "-encoding", "utf-8")
args("-target", "11", "-source", "11", "-g", "-encoding", "utf-8")
}

osgi {}
Expand Down
2 changes: 1 addition & 1 deletion misc.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" default="false" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" default="false" assert-keyword="true" jdk-15="true" project-jdk-name="11" project-jdk-type="JavaSDK" />
</project>

0 comments on commit 5bdb3f5

Please sign in to comment.