forked from OreosLab/bili
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
59 lines (51 loc) · 1.44 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
/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
id 'java'
id 'maven-publish'
id "com.github.johnrengelman.shadow" version "8.1.1"
}
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
dependencies {
implementation 'org.apache.httpcomponents:httpclient:4.5.14'
implementation 'io.github.itning:guava-retrying3:3.0.3'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'org.slf4j:jcl-over-slf4j:2.0.16'
implementation 'ch.qos.logback:logback-classic:1.4.14'
implementation 'cn.hutool:hutool-core:5.8.35'
implementation 'org.apache.commons:commons-lang3:3.14.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.3'
compileOnly 'org.projectlombok:lombok:1.18.36'
annotationProcessor 'org.projectlombok:lombok:1.18.36'
testCompileOnly 'org.projectlombok:lombok:1.18.36'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.36'
}
group = 'top.misec'
version = '2.2.0'
description = 'bili-helper'
java.sourceCompatibility = JavaVersion.VERSION_17
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
jar {
manifest {
attributes(
'Main-Class': 'top.misec.BiliMain'
)
}
}