plugins {
id 'org.springframework.boot' version '2.1.4.RELEASE'
id 'java'
id 'war'
}
war {
enabled = true
archiveName 'cosmos.war'
}
apply plugin: 'io.spring.dependency-management'
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-jersey'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
runtimeOnly 'mysql:mysql-connector-java'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
compile("com.h2database:h2:1.4.196")
compile("com.fasterxml.jackson.core:jackson-databind")
compile("org.hibernate:hibernate-core:5.4.2.Final")
compileOnly('org.projectlombok:lombok:1.16.10')
providedCompile 'javax.websocket:javax.websocket-api:1.1'
implementation 'org.glassfish.tyrus:tyrus-container-grizzly-server:1.13.1'
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
implementation 'org.springframework.boot:spring-boot-starter-websocket'
}