mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
There are more statements in the testData, left them as is for now GitOrigin-RevId: ca654cccb3650be0ba5c9257cffd8f8d3db97436
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 = "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"
|
|
} |