forked from RomanMorozov88/Gif_Giver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (39 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
plugins {
id 'org.springframework.boot' version '2.3.5.RELEASE'
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
id 'java'
id 'application'
}
group 'gif_giver'
version '1.0-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
version = '0.0.1'
mainClassName = 'morozov.ru.MainClass'
task copyJarToRoot {
doLast {
copy {
from './build/libs/gif_giver-0.0.1.jar'
into "./"
}
}
}
repositories {
mavenCentral()
}
ext {
set('springCloudVersion', 'Hoxton.SR5')
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.cloud:spring-cloud-starter-openfeign'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'junit:junit:4.12'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}