# Conflicts: # src/main/java/ru/ulstu/configuration/MvcConfiguration.java # src/main/java/ru/ulstu/core/controller/AdviceController.java # src/main/java/ru/ulstu/paper/controller/PaperRestController.java # src/main/resources/static/papers/paper-status.vue # src/main/resources/templates/activate.html # src/main/resources/templates/admin/commits.html # src/main/resources/templates/admin/userList.html # src/main/resources/templates/admin/userSessions.html # src/main/resources/templates/conferences/conference.html # src/main/resources/templates/conferences/conferences.html # src/main/resources/templates/conferences/dashboard.html # src/main/resources/templates/default.html # src/main/resources/templates/error/403.html # src/main/resources/templates/error/404.html # src/main/resources/templates/error/500.html # src/main/resources/templates/grants/dashboard.html # src/main/resources/templates/grants/fragments/grantDashboardFragment.html # src/main/resources/templates/grants/fragments/grantLineFragment.html # src/main/resources/templates/grants/fragments/grantStatusFragment.html # src/main/resources/templates/grants/grant.html # src/main/resources/templates/grants/grants.html # src/main/resources/templates/index.html # src/main/resources/templates/load.html # src/main/resources/templates/login.html # src/main/resources/templates/papers/dashboard.html # src/main/resources/templates/papers/fragments/paperDashboardFragment.html # src/main/resources/templates/papers/fragments/paperLineFragment.html # src/main/resources/templates/papers/paper.html # src/main/resources/templates/papers/papers.html # src/main/resources/templates/projects/dashboard.html # src/main/resources/templates/projects/fragments/projectStatusFragment.html # src/main/resources/templates/projects/project.html # src/main/resources/templates/projects/projects.html # src/main/resources/templates/reset.html # src/main/resources/templates/resetRequest.html # src/main/resources/templates/timeline.html
140 lines
4.6 KiB
Groovy
140 lines
4.6 KiB
Groovy
buildscript {
|
|
ext {
|
|
versionSpringBoot = '2.1.6.RELEASE'
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: versionSpringBoot
|
|
}
|
|
}
|
|
|
|
group 'ru.ulstu'
|
|
version '0.1.0-SNAPSHOT'
|
|
|
|
apply plugin: 'application'
|
|
apply plugin: 'java'
|
|
apply plugin: 'org.springframework.boot'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
apply plugin: 'checkstyle'
|
|
|
|
mainClassName = 'ru.ulstu.NgTrackerApplication'
|
|
|
|
build.dependsOn checkstyleMain
|
|
bootRun.dependsOn checkstyleMain
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
bootRun {
|
|
systemProperties = System.properties
|
|
}
|
|
|
|
checkstyle {
|
|
|
|
project.ext.checkstyleVersion = '8.8'
|
|
project.ext.sevntuChecksVersion = '1.28.0'
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
ignoreFailures = false
|
|
showViolations = true
|
|
maxErrors = 1
|
|
maxWarnings = 1
|
|
configFile = file("${project.rootDir}/checkstyle.xml")
|
|
|
|
//sourceSets = [sourceSets.main]
|
|
//showViolations = true
|
|
//reportsDir = file("$project.buildDir/checkstyleReports")
|
|
//configProperties = ['baseDir': "$project.projectDir"]
|
|
|
|
//https://discuss.gradle.org/t/some-checkstyle-rules-dont-work-in-gradle/16102/4
|
|
checkstyleMain {
|
|
source = sourceSets.main.allSource
|
|
}
|
|
|
|
configurations {
|
|
checkstyle
|
|
}
|
|
|
|
dependencies{
|
|
assert project.hasProperty("checkstyleVersion")
|
|
|
|
checkstyle "com.puppycrawl.tools:checkstyle:${checkstyleVersion}"
|
|
checkstyle "com.github.sevntu-checkstyle:sevntu-checks:${sevntuChecksVersion}"
|
|
}
|
|
}
|
|
|
|
task health(dependsOn: [
|
|
'checkstyleMain'
|
|
])
|
|
|
|
|
|
jar {
|
|
baseName = 'ng-tracker'
|
|
}
|
|
|
|
compileJava {
|
|
options.encoding = "UTF-8"
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
configurations {
|
|
compile.exclude module: "spring-boot-starter-tomcat"
|
|
compile.exclude module: "bcmail-jdk14"
|
|
compile.exclude module: "bcprov-jdk14"
|
|
compile.exclude module: "bctsp-jdk14"
|
|
}
|
|
|
|
dependencies {
|
|
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web'
|
|
compile group: 'org.springframework.boot', name: 'spring-boot-starter-security'
|
|
compile group: 'org.springframework.boot', name: 'spring-boot-starter-aop'
|
|
compile group: 'org.springframework.boot', name: 'spring-boot-starter-mail'
|
|
compile group: 'org.springframework.boot', name: 'spring-boot-starter-jetty'
|
|
compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa'
|
|
compile group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf'
|
|
compile group: 'nz.net.ultraq.thymeleaf', name: 'thymeleaf-layout-dialect'
|
|
compile group: 'org.thymeleaf.extras', name: 'thymeleaf-extras-springsecurity5'
|
|
compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-afterburner'
|
|
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-hibernate5'
|
|
|
|
compile group: 'org.postgresql', name: 'postgresql', version: '42.2.5'
|
|
|
|
compile group: 'org.liquibase', name: 'liquibase-core', version: '3.6.3'
|
|
compile group: 'com.mattbertolini', name: 'liquibase-slf4j', version: '2.0.0'
|
|
|
|
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
|
|
|
|
compile group: 'org.webjars', name: 'font-awesome', version: '4.7.0'
|
|
compile group: 'org.webjars', name: 'bootstrap', version: '4.1.3'
|
|
compile group: 'org.webjars.npm', name: 'vue', version: '2.6.9'
|
|
compile group: 'org.webjars.npm', name: 'vuex', version: '3.1.0'
|
|
compile group: 'org.webjars.npm', name: 'vue-router', version: '3.0.2'
|
|
compile group: 'org.webjars.npm', name: 'vue-multiselect', version: '2.0.2'
|
|
compile group: 'org.webjars.npm', name: 'vue-moment', version: '4.0.0'
|
|
compile group: 'org.webjars.npm', name: 'http-vue-loader', version: '1.3.5'
|
|
compile group: 'org.webjars.npm', name: 'axios', version: '0.18.0'
|
|
compile group: 'org.webjars.npm', name: 'vee-validate', version: '2.1.7'
|
|
|
|
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.6.0'
|
|
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.6.0'
|
|
compile group: 'net.sourceforge.htmlunit', name: 'htmlunit', version: '2.35.0'
|
|
|
|
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test'
|
|
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.3.1'
|
|
testCompile group: 'org.seleniumhq.selenium', name: 'selenium-support', version: '3.3.1'
|
|
//testCompile group: 'com.google.guava', name: 'guava', version: '21.0'
|
|
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
|
|
} |