-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
73 lines (60 loc) · 1.75 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
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* user guide available at https://docs.gradle.org/4.8.1/userguide/java_library_plugin.html
*/
buildscript {
repositories {
}
dependencies {
classpath 'se.transmode.gradle:gradle-docker:1.2'
}
}
plugins {
// Apply the java-library plugin to add support for Java Library
id 'maven-publish'
id 'application'
id 'org.springframework.boot' version '2.4.3'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
apply plugin: 'docker'
jar{
enabled = true
}
group = 'com.streamer'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
dependencyManagement {
imports {
mavenBom org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES
}
}
configurations.all {
}
application {
mainClassName = 'com.s3streamer.Init'
}
repositories {
maven { url "https://maven.restlet.com" }
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:23.0'
implementation group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.2'
implementation group: 'org.apache.commons', name: 'commons-collections4', version: '4.2'
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
}
repositories {
mavenCentral()
}
docker {
baseImage "openjdk:8-jdk-alpine"
maintainer "Dev Utkarsh"
}