11 jdk support
This commit is contained in:
parent
62f3ffcf5c
commit
97938452b7
57
build.gradle
57
build.gradle
@ -1,39 +1,21 @@
|
||||
buildscript {
|
||||
ext {
|
||||
versionSpringBoot = '1.4.5.RELEASE'
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
|
||||
id 'org.springframework.boot' version '2.3.3.RELEASE'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: versionSpringBoot
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'application'
|
||||
apply plugin: 'org.springframework.boot'
|
||||
|
||||
mainClassName = 'tech.athene.brockerservice.BrockerServiceApplication'
|
||||
//mainClassName = 'ru.ulstu.TimeSeriesApplication'
|
||||
|
||||
jar {
|
||||
baseName = 'time-series-smoothing'
|
||||
version = '0.0.1'
|
||||
manifest {
|
||||
attributes 'Main-Class': mainClassName
|
||||
}
|
||||
|
||||
from {
|
||||
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
}
|
||||
archivesBaseName='time-series-smoothing'
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
sourceCompatibility = 11
|
||||
targetCompatibility = 11
|
||||
|
||||
dependencies {
|
||||
ext {
|
||||
@ -43,21 +25,22 @@ dependencies {
|
||||
versionSwagger = '2.5.0'
|
||||
}
|
||||
|
||||
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-jetty'
|
||||
compile group: 'org.slf4j', name: 'slf4j-api', version: versionSLF4J
|
||||
|
||||
compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: versionJetty
|
||||
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web'
|
||||
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-security'
|
||||
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-jetty'
|
||||
implementation group: 'org.slf4j', name: 'slf4j-api', version: versionSLF4J
|
||||
|
||||
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: versionJackson
|
||||
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: versionJackson
|
||||
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: versionJackson
|
||||
implementation group: 'org.eclipse.jetty', name: 'jetty-servlet', version: versionJetty
|
||||
|
||||
compile group: 'io.springfox', name: 'springfox-swagger2', version: versionSwagger
|
||||
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: versionSwagger
|
||||
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: versionJackson
|
||||
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: versionJackson
|
||||
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: versionJackson
|
||||
|
||||
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test'
|
||||
implementation group: 'io.springfox', name: 'springfox-swagger2', version: versionSwagger
|
||||
implementation group: 'io.springfox', name: 'springfox-swagger-ui', version: versionSwagger
|
||||
|
||||
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-test'
|
||||
}
|
||||
|
||||
|
||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-all.zip
|
||||
|
Loading…
Reference in New Issue
Block a user