-
Notifications
You must be signed in to change notification settings - Fork 188
Expand file tree
/
Copy pathbuild.gradle
More file actions
95 lines (82 loc) · 2.54 KB
/
Copy pathbuild.gradle
File metadata and controls
95 lines (82 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0"
}
}
plugins {
id("org.jetbrains.kotlin.jvm") version "2.1.0"
}
dependencies {
implementation 'com.formdev:flatlaf:3.7'
implementation 'com.formdev:flatlaf-extras:3.7'
compileOnly 'net.portswigger.burp.extender:burp-extender-api:2.3'
compileOnly 'net.portswigger.burp.extensions:montoya-api:2023.5'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0'
implementation 'org.apache.commons:commons-text:1.11.0'
implementation 'commons-codec:commons-codec:1.16.1'
implementation 'io.ktor:ktor-server-core:3.1.1'
implementation 'io.ktor:ktor-server-netty:3.1.1'
implementation 'com.graphql-java:graphql-java:21.5'
implementation "org.jetbrains:markdown:0.7.3"
implementation "com.vladsch.flexmark:flexmark-all:0.64.0"
implementation "org.json:json:20250107"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-swing:1.8.0'
// Test dependencies
testImplementation 'org.jetbrains.kotlin:kotlin-test:2.1.0'
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
testImplementation 'org.mockito:mockito-core:5.11.0'
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.2.1'
testImplementation 'com.google.code.gson:gson:2.10.1'
testCompileOnly 'net.portswigger.burp.extensions:montoya-api:2023.5'
testRuntimeOnly 'net.portswigger.burp.extensions:montoya-api:2023.5'
}
tasks.test {
useJUnitPlatform()
}
java {
sourceCompatibility = 17
targetCompatibility = 17
}
tasks.withType(KotlinCompile).configureEach {
compilerOptions.jvmTarget.set(JvmTarget.JVM_17)
}
compileKotlin {
compilerOptions {
// Configure the Kotlin compiler options
allWarningsAsErrors = false
}
}
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDir 'kotlin'
}
resources {
srcDirs = ['resources']
}
}
test {
kotlin {
srcDir 'src/test/kotlin'
}
}
}
build {
dependsOn(clean, processResources)
}
defaultTasks "build"
jar {
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
destinationDirectory = rootDir
duplicatesStrategy = DuplicatesStrategy.INCLUDE
archiveFileName = "InQL.jar"
}