-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (32 loc) · 946 Bytes
/
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
plugins {
id 'com.github.johnrengelman.shadow' version '7.1.0'
id 'java'
}
group 'com.taahyt'
version '0.1a'
def projName = 'Phishing-API'
def lombokVersion = '1.18.22'
def httpCompVersion = '4.5.13'
def jsonVersion = '20210307'
def majorVersion = '0'
def minorVersion = '0'
def patchVersion = '1'
def version = String.format('%s.%s.%s', majorVersion, minorVersion, patchVersion)
def fileName = projName + '-' + version
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(16))
}
}
repositories {
mavenCentral() // for transitive dependencies
}
dependencies {
implementation 'org.apache.httpcomponents:httpclient:' + httpCompVersion
implementation 'org.json:json:' + jsonVersion
compileOnly 'org.projectlombok:lombok:' + lombokVersion
annotationProcessor 'org.projectlombok:lombok:' + lombokVersion
}
shadowJar {
archiveFileName.set(fileName + "." + archiveExtension.get())
}