Advertisement
karpach3000

Untitled

Dec 10th, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. plugins {
  2. id 'org.springframework.boot' version '2.2.0.RELEASE'
  3. id 'io.spring.dependency-management' version '1.0.8.RELEASE'
  4. id 'java'
  5. id 'org.jetbrains.kotlin.jvm' version '1.3.50'
  6. }
  7.  
  8. group = 'com.profit'
  9. version = '0.0.5-dev'
  10. sourceCompatibility = '1.8'
  11.  
  12. configurations {
  13. developmentOnly
  14. runtimeClasspath {
  15. extendsFrom developmentOnly
  16. }
  17. }
  18.  
  19. repositories {
  20. mavenCentral()
  21. }
  22. task fatJar(type: Jar) {
  23. manifest {
  24. attributes 'Implementation-Title': 'FiscalAfp',
  25. 'Implementation-Version': version,
  26. 'Main-Class': 'com.its.GCParkingSystemk'
  27. }
  28. baseName = project.name + '-all'
  29. from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
  30. with jar
  31. }
  32. dependencies {
  33. compile fileTree(dir: 'libs', include: ['*.jar'])
  34. implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
  35. implementation 'org.springframework.boot:spring-boot-starter-mustache'
  36. //implementation 'org.springframework.boot:spring-boot-starter-parent'
  37. implementation 'org.springframework.boot:spring-boot-starter-web'
  38. //implementation 'org.springframework.boot:spring-boot-starter-web-services'
  39. developmentOnly 'org.springframework.boot:spring-boot-devtools'
  40. compile("org.springframework:spring-messaging")
  41.  
  42.  
  43. // https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core
  44. compile group: 'org.jetbrains.kotlinx', name: 'kotlinx-coroutines-core', version: '1.3.2'
  45. //логер
  46. // group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.8.2'
  47. //compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.8.2'
  48. //json
  49. compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
  50. //json-simple - для разбора входящих сообщений
  51. compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
  52. //невиданная либа для парсинга данных !!!надо будет удалить!!!
  53. compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
  54. //web соккеты сервер
  55. compile("org.springframework.boot:spring-boot-starter-websocket")
  56. //web соккеты клиент
  57. compile group: 'org.eclipse.jetty.websocket', name: 'websocket-client', version: '9.4.24.v20191120'
  58. // https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient
  59. compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.10'
  60.  
  61. // https://mvnrepository.com/artifact/javax.persistence/javax.persistence-api
  62. compile group: 'javax.persistence', name: 'javax.persistence-api', version: '2.2'
  63.  
  64.  
  65.  
  66. // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-maven-plugin
  67. compile group: 'org.springframework.boot', name: 'spring-boot-maven-plugin', version: '2.1.4.RELEASE'
  68.  
  69. // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-thymeleaf
  70. compile group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf', version: '2.1.6.RELEASE'
  71.  
  72.  
  73. runtimeOnly 'com.h2database:h2'
  74. testImplementation('org.springframework.boot:spring-boot-starter-test') {
  75. exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
  76. }
  77. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
  78. }
  79.  
  80. test {
  81. useJUnitPlatform()
  82. }
  83. compileKotlin {
  84. kotlinOptions {
  85. jvmTarget = "1.8"
  86. }
  87. }
  88. compileTestKotlin {
  89. kotlinOptions {
  90. jvmTarget = "1.8"
  91. }
  92. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement