mirror of
https://github.com/irmen/prog8.git
synced 2025-02-01 13:32:51 +00:00
moved jdk version config back to main gradle build file, version consistency
This commit is contained in:
parent
f93b7e3303
commit
3804fba0f1
16
.idea/kotlinc.xml
generated
16
.idea/kotlinc.xml
generated
@ -1,9 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
|
<component name="Kotlin2JsCompilerArguments">
|
||||||
|
<option name="moduleKind" value="plain" />
|
||||||
|
</component>
|
||||||
<component name="Kotlin2JvmCompilerArguments">
|
<component name="Kotlin2JvmCompilerArguments">
|
||||||
<option name="jvmTarget" value="11" />
|
<option name="jvmTarget" value="11" />
|
||||||
</component>
|
</component>
|
||||||
<component name="KotlinJpsPluginSettings">
|
<component name="KotlinCommonCompilerArguments">
|
||||||
<option name="version" value="2.0.21" />
|
<option name="apiVersion" value="2.1" />
|
||||||
|
<option name="languageVersion" value="2.1" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
<component name="KotlinCompilerSettings">
|
||||||
|
<option name="additionalArguments" value="-Xwhen-guards" />
|
||||||
|
</component>
|
||||||
|
<component name="KotlinJpsPluginSettings">
|
||||||
|
<option name="version" value="2.1.0" />
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -5,15 +5,6 @@ plugins {
|
|||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
|
||||||
compilerOptions.jvmTarget = JvmTarget.JVM_11
|
|
||||||
}
|
|
||||||
|
|
||||||
val serverMainClassName = "prog8lsp.MainKt"
|
val serverMainClassName = "prog8lsp.MainKt"
|
||||||
val applicationName = "prog8-beanshell"
|
val applicationName = "prog8-beanshell"
|
||||||
|
|
||||||
|
@ -1,10 +1,26 @@
|
|||||||
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm") version "2.1.0"
|
kotlin("jvm") version "2.1.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
|
apply(plugin="kotlin")
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kotlin {
|
||||||
|
compilerOptions {
|
||||||
|
freeCompilerArgs = listOf("-Xwhen-guards")
|
||||||
|
jvmTarget = JvmTarget.JVM_11
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
java {
|
||||||
|
targetCompatibility = JavaVersion.VERSION_11
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_11
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,18 +4,9 @@ plugins {
|
|||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
|
||||||
compilerOptions.jvmTarget = JvmTarget.JVM_11
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// should have no dependencies to other modules
|
// should have no dependencies to other modules
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
// implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||||
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,25 +4,15 @@ plugins {
|
|||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
|
||||||
compilerOptions.jvmTarget = JvmTarget.JVM_11
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":codeCore"))
|
implementation(project(":codeCore"))
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
// implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||||
// implementation "org.jetbrains.kotlin:kotlin-reflect"
|
// implementation "org.jetbrains.kotlin:kotlin-reflect"
|
||||||
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
||||||
|
|
||||||
testImplementation("io.kotest:kotest-runner-junit5-jvm:5.9.1")
|
testImplementation("io.kotest:kotest-runner-junit5-jvm:5.9.1")
|
||||||
testImplementation("io.kotest:kotest-framework-datatest:5.9.1")
|
testImplementation("io.kotest:kotest-framework-datatest:5.9.1")
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
|
testImplementation("org.junit.jupiter:junit-jupiter:5.9.1")
|
||||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,21 +4,11 @@ plugins {
|
|||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
|
||||||
compilerOptions.jvmTarget = JvmTarget.JVM_11
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":codeCore"))
|
implementation(project(":codeCore"))
|
||||||
implementation(project(":intermediate"))
|
implementation(project(":intermediate"))
|
||||||
implementation(project(":codeGenIntermediate"))
|
implementation(project(":codeGenIntermediate"))
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
// implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||||
// implementation "org.jetbrains.kotlin:kotlin-reflect"
|
// implementation "org.jetbrains.kotlin:kotlin-reflect"
|
||||||
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
||||||
}
|
}
|
||||||
|
@ -4,24 +4,16 @@ plugins {
|
|||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
|
||||||
compilerOptions.jvmTarget = JvmTarget.JVM_11
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":codeCore"))
|
implementation(project(":codeCore"))
|
||||||
implementation(project(":intermediate"))
|
implementation(project(":intermediate"))
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
// implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||||
// implementation "org.jetbrains.kotlin:kotlin-reflect"
|
// implementation "org.jetbrains.kotlin:kotlin-reflect"
|
||||||
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
||||||
|
|
||||||
testImplementation("io.kotest:kotest-runner-junit5-jvm:5.9.1")
|
testImplementation("io.kotest:kotest-runner-junit5-jvm:5.9.1")
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
|
testImplementation("org.junit.jupiter:junit-jupiter:5.9.1")
|
||||||
testImplementation("io.kotest:kotest-framework-datatest:5.9.1")
|
testImplementation("io.kotest:kotest-framework-datatest:5.9.1")
|
||||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||||
}
|
}
|
||||||
|
@ -4,20 +4,10 @@ plugins {
|
|||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
|
||||||
compilerOptions.jvmTarget = JvmTarget.JVM_11
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":codeCore"))
|
implementation(project(":codeCore"))
|
||||||
implementation(project(":compilerAst"))
|
implementation(project(":compilerAst"))
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
// implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||||
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
||||||
// implementation "org.jetbrains.kotlin:kotlin-reflect"
|
// implementation "org.jetbrains.kotlin:kotlin-reflect"
|
||||||
}
|
}
|
||||||
|
@ -8,15 +8,6 @@ plugins {
|
|||||||
id("com.peterabeles.gversion") version "1.10.3"
|
id("com.peterabeles.gversion") version "1.10.3"
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
|
||||||
compilerOptions.jvmTarget = JvmTarget.JVM_11
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":codeCore"))
|
implementation(project(":codeCore"))
|
||||||
implementation(project(":codeOptimizers"))
|
implementation(project(":codeOptimizers"))
|
||||||
@ -27,7 +18,7 @@ dependencies {
|
|||||||
implementation(project(":virtualmachine"))
|
implementation(project(":virtualmachine"))
|
||||||
// implementation(project(":beanshell"))
|
// implementation(project(":beanshell"))
|
||||||
implementation("org.antlr:antlr4-runtime:4.13.2")
|
implementation("org.antlr:antlr4-runtime:4.13.2")
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
// implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||||
// implementation("org.jetbrains.kotlin:kotlin-reflect")
|
// implementation("org.jetbrains.kotlin:kotlin-reflect")
|
||||||
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.6")
|
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.6")
|
||||||
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
||||||
@ -36,7 +27,7 @@ dependencies {
|
|||||||
testImplementation(project(":intermediate"))
|
testImplementation(project(":intermediate"))
|
||||||
testImplementation("io.kotest:kotest-runner-junit5-jvm:5.9.1")
|
testImplementation("io.kotest:kotest-runner-junit5-jvm:5.9.1")
|
||||||
testImplementation("io.kotest:kotest-framework-datatest:5.9.1")
|
testImplementation("io.kotest:kotest-framework-datatest:5.9.1")
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
|
testImplementation("org.junit.jupiter:junit-jupiter:5.9.1")
|
||||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,18 +4,9 @@ plugins {
|
|||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
|
||||||
compilerOptions.jvmTarget = JvmTarget.JVM_11
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":codeCore"))
|
implementation(project(":codeCore"))
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
// implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||||
implementation("org.antlr:antlr4-runtime:4.13.2")
|
implementation("org.antlr:antlr4-runtime:4.13.2")
|
||||||
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
||||||
implementation(project(":parser"))
|
implementation(project(":parser"))
|
||||||
|
@ -4,21 +4,12 @@ plugins {
|
|||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
|
||||||
compilerOptions.jvmTarget = JvmTarget.JVM_11
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":codeCore"))
|
implementation(project(":codeCore"))
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
// implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||||
testImplementation("io.kotest:kotest-runner-junit5-jvm:5.9.1")
|
testImplementation("io.kotest:kotest-runner-junit5-jvm:5.9.1")
|
||||||
testImplementation("io.kotest:kotest-framework-datatest:5.9.1")
|
testImplementation("io.kotest:kotest-framework-datatest:5.9.1")
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
|
testImplementation("org.junit.jupiter:junit-jupiter:5.9.1")
|
||||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,11 +5,6 @@ plugins {
|
|||||||
id("java")
|
id("java")
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
antlr("org.antlr:antlr4:4.13.2")
|
antlr("org.antlr:antlr4:4.13.2")
|
||||||
implementation("org.antlr:antlr4-runtime:4.13.2")
|
implementation("org.antlr:antlr4-runtime:4.13.2")
|
||||||
|
@ -4,23 +4,15 @@ plugins {
|
|||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlin {
|
|
||||||
compilerOptions.jvmTarget = JvmTarget.JVM_11
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(":codeCore"))
|
implementation(project(":codeCore"))
|
||||||
implementation(project(":intermediate"))
|
implementation(project(":intermediate"))
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
// implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
||||||
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
implementation("com.michael-bull.kotlin-result:kotlin-result-jvm:2.0.0")
|
||||||
testImplementation("io.kotest:kotest-runner-junit5-jvm:5.9.1")
|
testImplementation("io.kotest:kotest-runner-junit5-jvm:5.9.1")
|
||||||
testImplementation("io.kotest:kotest-framework-datatest:5.9.1")
|
testImplementation("io.kotest:kotest-framework-datatest:5.9.1")
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
|
testImplementation("org.junit.jupiter:junit-jupiter:5.9.1")
|
||||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user