Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id 'org.springframework.boot' version '2.2.0.RELEASE'
- id 'io.spring.dependency-management' version '1.0.8.RELEASE'
- id 'java'
- id 'org.jetbrains.kotlin.jvm' version '1.3.50'
- }
- group = 'com.profit'
- version = '0.0.5-dev'
- sourceCompatibility = '1.8'
- configurations {
- developmentOnly
- runtimeClasspath {
- extendsFrom developmentOnly
- }
- }
- repositories {
- mavenCentral()
- }
- task fatJar(type: Jar) {
- manifest {
- attributes 'Implementation-Title': 'FiscalAfp',
- 'Implementation-Version': version,
- 'Main-Class': 'com.its.GCParkingSystemk'
- }
- baseName = project.name + '-all'
- from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
- with jar
- }
- dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
- implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
- implementation 'org.springframework.boot:spring-boot-starter-mustache'
- //implementation 'org.springframework.boot:spring-boot-starter-parent'
- implementation 'org.springframework.boot:spring-boot-starter-web'
- //implementation 'org.springframework.boot:spring-boot-starter-web-services'
- developmentOnly 'org.springframework.boot:spring-boot-devtools'
- compile("org.springframework:spring-messaging")
- // https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core
- compile group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: '1.3.2'
- //логер
- // group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.8.2'
- //compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.8.2'
- //json
- compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
- //json-simple - для разбора входящих сообщений
- compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
- //невиданная либа для парсинга данных !!!надо будет удалить!!!
- compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
- //web соккеты сервер
- compile("org.springframework.boot:spring-boot-starter-websocket")
- //web соккеты клиент
- compile group: 'org.eclipse.jetty.websocket', name: 'websocket-client', version: '9.4.24.v20191120'
- // https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient
- compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.10'
- // https://mvnrepository.com/artifact/javax.persistence/javax.persistence-api
- compile group: 'javax.persistence', name: 'javax.persistence-api', version: '2.2'
- // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-maven-plugin
- compile group: 'org.springframework.boot', name: 'spring-boot-maven-plugin', version: '2.1.4.RELEASE'
- // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-thymeleaf
- compile group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf', version: '2.1.6.RELEASE'
- runtimeOnly 'com.h2database:h2'
- testImplementation('org.springframework.boot:spring-boot-starter-test') {
- exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
- }
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
- }
- test {
- useJUnitPlatform()
- }
- compileKotlin {
- kotlinOptions {
- jvmTarget = "1.8"
- }
- }
- compileTestKotlin {
- kotlinOptions {
- jvmTarget = "1.8"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement