-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
100 lines (78 loc) · 2.49 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
buildscript {
ext.kotlin_version = '1.3.21'
ext.ktor_version = '1.0.1'
ext.dokka_version = '0.9.17'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.9.17"
}
}
plugins {
id "org.jetbrains.dokka" version '0.9.17'
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'application'
apply plugin: 'maven'
group 'io.github.dogo'
version '1.0-SNAPSHOT'
mainClassName = "dev.nathanpb.dogo.core.boot.BootKt"
sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
maven {url 'https://jitpack.io'}
maven {
name = 'sponge'
url = 'https://repo.spongepowered.org/maven'
}
maven {
url = 'http://maven.ej-technologies.com/repository'
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-reflect"
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "io.ktor:ktor-server-core:$ktor_version"
compile "io.ktor:ktor-server-netty:$ktor_version"
compile 'net.dv8tion:JDA:3.8.1_447'
compile 'mysql:mysql-connector-java:5.1.6'
compile 'org.jetbrains.exposed:exposed:0.12.1'
compile 'org.spongepowered:configurate-json:3.6'
compile 'com.fasterxml.jackson.core:jackson-databind:2.0.1'
compile 'com.mashape.unirest:unirest-java:1.3.1'
compile 'org.jsoup:jsoup:1.8.3'
compile 'org.slf4j:slf4j-simple:1.6.1'
compile 'org.apache.logging.log4j:log4j-core:2.11.1'
compile 'org.apache.logging.log4j:log4j-api:2.11.1'
compile 'org.jetbrains.kotlin:kotlin-script-runtime:1.3.21'
compile 'org.jetbrains.kotlin:kotlin-script-util:1.3.21'
compile 'org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.21'
compile 'com.google.api-client:google-api-client:1.23.0'
compile 'com.google.oauth-client:google-oauth-client-jetty:1.23.0'
compile 'com.google.apis:google-api-services-drive:v3-rev110-1.23.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.0.1'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jar {
manifest {
attributes 'Main-Class': 'dev.nathanpb.dogo.core.boot.BootKt'
}
from {
configurations.compile
.findAll { !it.name.endsWith('pom') }
.collect { it.isDirectory() ? it : zipTree(it) }
}
}
dokka {
outputFormat = 'html'
outputDirectory = "$buildDir/docs/dokka"
}