-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (41 loc) · 1.23 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
plugins {
id 'org.springframework.boot' version '2.3.3.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id "io.freefair.lombok" version "4.1.6"
id 'application'
}
mainClassName = "com.demkom58.nchat.Main"
jar.enabled = true
dependencies {
compile project(":server")
compile project(":client")
}
allprojects {
apply plugin: 'java'
apply plugin: 'io.freefair.lombok'
generateLombokConfig.enabled = false
compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"
compileJava {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenLocal()
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
jcenter()
mavenCentral()
}
dependencies {
// Option string parser
compile 'net.sf.jopt-simple:jopt-simple:5.0.4'
// Logging
compile 'org.slf4j:slf4j-log4j12:1.7.25'
compile('com.jcabi:jcabi-log:0.18') {
exclude group: 'org.slf4j', module: 'slf4j-api'
}
// Common
compile 'org.jetbrains:annotations:18.0.0'
}
}