-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
64 lines (48 loc) · 1.2 KB
/
build.gradle
File metadata and controls
64 lines (48 loc) · 1.2 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
buildscript {
ext {
kotlin_version = '1.9.24'
}
repositories {
maven { url "https://maven.aliyun.com/repository/gradle-plugin"}
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
mavenCentral()
}
dependencies {
}
}
plugins {
id 'org.jetbrains.kotlin.jvm' version "$kotlin_version"
id 'signing'
}
tasks.withType(JavaCompile).configureEach {
options.encoding = "UTF-8"
}
group 'com.uliian'
version '1.5.11'
apply plugin: 'java'
apply plugin: 'maven-publish'
apply from:"upload.gradle"
sourceCompatibility = 1.8
tasks.withType(JavaCompile).configureEach {
options.encoding = "UTF-8"
}
repositories {
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
mavenCentral()
}
dependencies {
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation 'org.slf4j:slf4j-api:1.7.31'
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}