-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (44 loc) · 1.01 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.31'
id 'maven'
id 'maven-publish'
id 'java'
id 'com.github.johnrengelman.shadow' version '5.0.0'
}
group = 'com.github.759434091'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
artifacts {
archives shadowJar
}
publishing {
publications {
shadow(MavenPublication) { publication ->
project.shadow.component(publication)
}
}
}
repositories {
jcenter()
mavenCentral()
mavenLocal()
}
jar {
enabled = false
}
shadowJar {
//noinspection GroovyAccessibility
archiveClassifier = null
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.jetbrains.kotlin:kotlin-reflect:1.3.31"
implementation group: 'com.squareup', name: 'javapoet', version: '1.11.1'
compileOnly group: 'com.baidu', name: 'jprotobuf', version: '1.11.6'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}