Files
openide/plugins/java-decompiler/engine/build.gradle.kts
Alexandr Evstigneev 8649d8d623 IJPL-204686 Updated jvm/jbr version to 21 across multiple modules
There are more statements in the testData, left them as is for now

GitOrigin-RevId: ca654cccb3650be0ba5c9257cffd8f8d3db97436
2025-09-01 15:06:34 +00:00

48 lines
906 B
Kotlin

// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
plugins {
java
application
}
tasks.compileJava {
sourceCompatibility = "21"
targetCompatibility = "21"
}
sourceSets {
main {
java.srcDirs("src")
}
test {
java.srcDirs("test")
}
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains:annotations:24.0.0")
testImplementation("junit:junit:4.13.2")
testImplementation("org.assertj:assertj-core:3.26.3")
}
application {
mainClass = "org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler"
}
tasks.withType<CreateStartScripts> {
applicationName = "fernflower"
}
tasks.jar {
archiveFileName = "fernflower.jar"
manifest {
attributes["Main-Class"] = "org.jetbrains.java.decompiler.main.decompiler.ConsoleDecompiler"
}
}
tasks.test {
maxHeapSize = "1024m"
}