// Spring
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
compile('org.springframework.boot:spring-boot-starter-data-jpa')
// Database
compile('com.h2database:h2')
compile('mysql:mysql-connector-java')
compile('org.modelmapper:modelmapper:2.3.7')
// Security, OAuth
compile('org.springframework.boot:spring-boot-starter-oauth2-client')
compile('org.springframework.boot:spring-boot-starter-security')
// Google Chart
compile('com.googlecode.json-simple:json-simple:1.1.1')
compile('com.fasterxml.jackson.core:jackson-databind:2.9.4')
// Plugin
compileOnly('org.projectlombok:lombok')
testCompile('org.springframework.boot:spring-boot-starter-test')
git clone https://github.com/GGoMak/Swith.git
gradle build
cd build/libs
java -jar {프로젝트명}-1.0-SNAPSHOT.jar
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://{주소}:3306/{Database이름}?serverTimezone=UTC&characterEncoding=UTF-8
spring.datasource.username={DB 아이디}
spring.datasource.password={DB 패스워드}
File file = new File("{Content 폴더 경로명}" + content.getContentName() + ".mp4");