-
Notifications
You must be signed in to change notification settings - Fork 49
/
build.gradle
64 lines (60 loc) · 1.8 KB
/
build.gradle
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
version '1.1.1'
buildscript {
ext.kotlin_version = '1.4.10'
repositories {
maven{ url 'https://maven.aliyun.com/nexus/content/groups/public/'}
mavenLocal()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
repositories {
mavenLocal()
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
exclude 'META-INF/versions/9/*.class','META-INF/*.txt','META-INF/*/*','META-INF/LICENSE','META-INF/NOTICE'
}
repositories {
mavenCentral()
}
sourceSets{
main.kotlin.srcDirs += 'src'
main.java.srcDirs += 'src'
test.kotlin.srcDirs += 'test'
test.java.srcDirs += 'test'
}
dependencies {
compile 'net.portswigger.burp.extender:burp-extender-api:1.7.13'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.9'
compile 'mysql:mysql-connector-java:8.0.27'
// https://mvnrepository.com/artifact/com.google.guava/guava
compile group: 'com.google.guava', name: 'guava', version: '30.1-jre'
// https://mvnrepository.com/artifact/org.apache.commons/commons-text
compile group: 'org.apache.commons', name: 'commons-text', version: '1.9'
// https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc
compile group: 'org.xerial', name: 'sqlite-jdbc', version: '3.36.0.3'
compile group: 'org.apache.poi', name: 'poi', version: '5.2.3'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}