-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle
More file actions
45 lines (38 loc) · 1.45 KB
/
build.gradle
File metadata and controls
45 lines (38 loc) · 1.45 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
import org.springframework.boot.gradle.plugin.SpringBootPlugin
group 'com.rsm.socket'
version '1.0-SNAPSHOT'
buildscript {
repositories {
maven { url "http://repo.spring.io/libs-release" }
mavenLocal()
mavenCentral() }
dependencies {
classpath ("org.springframework.boot:spring-boot-gradle-plugin:2.0.0.RELEASE")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: SpringBootPlugin
apply plugin: 'application'
sourceCompatibility = 1.8
repositories {
mavenLocal()
mavenCentral()
maven { url "http://repo.spring.io/libs-release" }}
bootJar {
baseName='telematic'
version='1.0'
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compileOnly 'org.projectlombok:lombok:1.16.20'
compile group: 'org.springframework.boot', name: 'spring-boot-starter', version: '2.0.0.RELEASE'
//-- драйвер к БД
compile group: 'org.postgresql', name: 'postgresql', version: '42.1.4'
//-- библиотека для работы с БД
compile group: 'org.springframework.boot', name: 'spring-boot-starter-jdbc', version: '2.0.3.RELEASE'
// https://mvnrepository.com/artifact/org.apache.kafka/kafka
compile group: 'org.apache.kafka', name: 'kafka_2.12', version: '1.1.0'
// https://mvnrepository.com/artifact/org.springframework.kafka/spring-kafka
compile group: 'org.springframework.kafka', name: 'spring-kafka', version: '2.1.7.RELEASE'
}