-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (47 loc) · 1.94 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
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.21"
}
allprojects {
apply plugin: 'org.jetbrains.kotlin.jvm'
repositories {
flatDir {
dirs "$rootDir/libs"
}
mavenLocal()
mavenCentral()
jcenter()
// maven { url 'https://jitpack.io' }
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.21"
compile "org.jetbrains.kotlin:kotlin-reflect:1.3.21"
// compile 'com.github.kklongming.sz-vertx-kotlin:sz-scaffold:-SNAPSHOT'
// compile 'com.github.kklongming.sz-vertx-kotlin:sz-ebean:-SNAPSHOT'
// compile 'com.github.kklongming.sz-vertx-kotlin:sz-api-doc:-SNAPSHOT'
// compile 'com.github.kklongming.sz-vertx-kotlin:sz-plan-task:-SNAPSHOT'
compile group: 'com.github.kklongming', name: 'sz-scaffold', version: 'unspecified'
compile group: 'com.github.kklongming', name: 'sz-ebean', version: 'unspecified'
compile group: 'com.github.kklongming', name: 'sz-api-doc', version: 'unspecified'
compile group: 'com.github.kklongming', name: 'sz-plan-task', version: 'unspecified'
}
// configurations.all {
// resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
// }
}
dependencies {
compile project(':models')
compile project(':common_lib')
compile project(':api_server')
compile project(':async_task_server')
compile project(':notify_receiver')
}
task usage {
println('\u001b[32m 运行 api_server (debug 模式, debug端口:5005) 命令 gradle :api_server:run -Pdebug \u001B[0m')
println('\u001b[32m 运行 async_task_server (debug 模式, debug端口:5005) 命令 gradle :async_task_server:run -Pdebug \u001B[0m')
println('\u001b[32m 运行 notify_receiver (debug 模式, debug端口:5005) 命令 gradle :notify_receiver:run -Pdebug \u001B[0m')
}