java version tweaks

This commit is contained in:
Irmen de Jong 2024-05-18 20:25:44 +02:00
parent e4990f8ec5
commit c719e274d5
14 changed files with 27 additions and 35 deletions

2
.idea/kotlinc.xml generated
View File

@ -4,6 +4,6 @@
<option name="jvmTarget" value="11" /> <option name="jvmTarget" value="11" />
</component> </component>
<component name="KotlinJpsPluginSettings"> <component name="KotlinJpsPluginSettings">
<option name="version" value="1.9.20" /> <option name="version" value="1.9.24" />
</component> </component>
</project> </project>

2
.idea/misc.xml generated
View File

@ -22,7 +22,7 @@
<component name="FrameworkDetectionExcludesConfiguration"> <component name="FrameworkDetectionExcludesConfiguration">
<type id="Python" /> <type id="Python" />
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="openjdk-11" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="openjdk-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" /> <output url="file://$PROJECT_DIR$/out" />
</component> </component>
</project> </project>

View File

@ -6,9 +6,8 @@ plugins {
} }
java { java {
toolchain { targetCompatibility = JavaLanguageVersion.of(javaVersion)
languageVersion = JavaLanguageVersion.of(javaVersion) sourceCompatibility = JavaLanguageVersion.of(javaVersion)
}
} }
compileKotlin { compileKotlin {

View File

@ -5,9 +5,8 @@ plugins {
} }
java { java {
toolchain { targetCompatibility = JavaLanguageVersion.of(javaVersion)
languageVersion = JavaLanguageVersion.of(javaVersion) sourceCompatibility = JavaLanguageVersion.of(javaVersion)
}
} }
compileKotlin { compileKotlin {

View File

@ -6,9 +6,8 @@ plugins {
} }
java { java {
toolchain { targetCompatibility = JavaLanguageVersion.of(javaVersion)
languageVersion = JavaLanguageVersion.of(javaVersion) sourceCompatibility = JavaLanguageVersion.of(javaVersion)
}
} }
compileKotlin { compileKotlin {

View File

@ -6,9 +6,8 @@ plugins {
} }
java { java {
toolchain { targetCompatibility = JavaLanguageVersion.of(javaVersion)
languageVersion = JavaLanguageVersion.of(javaVersion) sourceCompatibility = JavaLanguageVersion.of(javaVersion)
}
} }
compileKotlin { compileKotlin {

View File

@ -6,9 +6,8 @@ plugins {
} }
java { java {
toolchain { targetCompatibility = JavaLanguageVersion.of(javaVersion)
languageVersion = JavaLanguageVersion.of(javaVersion) sourceCompatibility = JavaLanguageVersion.of(javaVersion)
}
} }
compileKotlin { compileKotlin {

View File

@ -7,9 +7,8 @@ plugins {
} }
java { java {
toolchain { targetCompatibility = JavaLanguageVersion.of(javaVersion)
languageVersion = JavaLanguageVersion.of(javaVersion) sourceCompatibility = JavaLanguageVersion.of(javaVersion)
}
} }
compileKotlin { compileKotlin {

View File

@ -4,9 +4,8 @@ plugins {
} }
java { java {
toolchain { targetCompatibility = JavaLanguageVersion.of(javaVersion)
languageVersion = JavaLanguageVersion.of(javaVersion) sourceCompatibility = JavaLanguageVersion.of(javaVersion)
}
} }
compileKotlin { compileKotlin {

View File

@ -5,7 +5,7 @@
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/build" /> <excludeFolder url="file://$MODULE_DIR$/build" />
</content> </content>
<orderEntry type="jdk" jdkName="Python 3.11" jdkType="Python SDK" /> <orderEntry type="jdk" jdkName="Python 3.12" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
</module> </module>

View File

@ -2,6 +2,8 @@
main { main {
sub start() { sub start() {
void = call($2000) repeat cx16.r0 {
cx16.r1L++
}
} }
} }

View File

@ -6,9 +6,8 @@ plugins {
} }
java { java {
toolchain { targetCompatibility = JavaLanguageVersion.of(javaVersion)
languageVersion = JavaLanguageVersion.of(javaVersion) sourceCompatibility = JavaLanguageVersion.of(javaVersion)
}
} }
compileKotlin { compileKotlin {

View File

@ -4,9 +4,8 @@ plugins {
} }
java { java {
toolchain { targetCompatibility = JavaLanguageVersion.of(javaVersion)
languageVersion = JavaLanguageVersion.of(javaVersion) sourceCompatibility = JavaLanguageVersion.of(javaVersion)
}
} }
dependencies { dependencies {

View File

@ -6,9 +6,8 @@ plugins {
} }
java { java {
toolchain { targetCompatibility = JavaLanguageVersion.of(javaVersion)
languageVersion = JavaLanguageVersion.of(javaVersion) sourceCompatibility = JavaLanguageVersion.of(javaVersion)
}
} }
compileKotlin { compileKotlin {