mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
In preparation for IDEA-368461 Merge-request: IJ-MR-160055 Merged-by: Bartek Pacia <bartek.pacia@jetbrains.com> GitOrigin-RevId: d51212421e6ea43b0b8f265a48692e786f742b0b
48 lines
906 B
Kotlin
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 = "17"
|
|
targetCompatibility = "17"
|
|
}
|
|
|
|
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"
|
|
} |