mirror of
https://github.com/linuxserver/davos.git
synced 2026-04-20 00:01:51 +08:00
- Defined pattern for schedule workflow and steps - Implemented first 2 post-download actions (move, pushbullet)
69 lines
1.8 KiB
Groovy
69 lines
1.8 KiB
Groovy
buildscript {
|
|
|
|
ext {
|
|
springBootVersion = '1.2.6.RELEASE'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
classpath('io.spring.gradle:dependency-management-plugin:0.5.2.RELEASE')
|
|
}
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'spring-boot'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
jar {
|
|
baseName = 'davos'
|
|
version = '0.0.1-SNAPSHOT'
|
|
}
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
configurations {
|
|
all*.exclude module : 'spring-boot-starter-logging'
|
|
}
|
|
|
|
dependencies {
|
|
|
|
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'
|
|
compile 'org.springframework.boot:spring-boot-starter-jdbc'
|
|
compile 'org.springframework.boot:spring-boot-starter-mail'
|
|
compile 'org.springframework.boot:spring-boot-starter-log4j2'
|
|
|
|
compile 'com.jcraft:jsch:0.1.50'
|
|
compile 'joda-time:joda-time:2.3'
|
|
compile 'commons-net:commons-net:3.3'
|
|
compile 'commons-io:commons-io:2.4'
|
|
|
|
runtime 'com.h2database:h2'
|
|
|
|
testCompile 'org.springframework.boot:spring-boot-starter-test'
|
|
testCompile 'org.assertj:assertj-core:3.2.0'
|
|
testCompile 'org.mockito:mockito-all:1.9.5'
|
|
testCompile 'junit:junit:4.11'
|
|
}
|
|
|
|
eclipse {
|
|
|
|
classpath {
|
|
containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
|
|
containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8'
|
|
}
|
|
}
|
|
|
|
task wrapper(type: Wrapper) {
|
|
gradleVersion = '2.7'
|
|
}
|