Mave 앱 서버 API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.1 KiB

  1. plugins {
  2. id 'org.springframework.boot' version '2.4.5'
  3. id 'io.spring.dependency-management' version '1.0.11.RELEASE'
  4. id "com.ewerk.gradle.plugins.querydsl" version "1.0.10"
  5. id 'java'
  6. }
  7. group = 'com.maveProject'
  8. version = '0.0.1-SNAPSHOT'
  9. sourceCompatibility = '1.8'
  10. configurations {
  11. compileOnly {
  12. extendsFrom annotationProcessor
  13. }
  14. }
  15. repositories {
  16. mavenCentral()
  17. }
  18. dependencies {
  19. implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
  20. implementation 'org.springframework.boot:spring-boot-starter-web'
  21. implementation 'com.querydsl:querydsl-jpa'
  22. implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
  23. compileOnly 'org.projectlombok:lombok'
  24. runtimeOnly 'com.h2database:h2'
  25. annotationProcessor 'org.projectlombok:lombok'
  26. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  27. }
  28. test {
  29. useJUnitPlatform()
  30. }
  31. def querydslDir = "$buildDir/generated/querydsl"
  32. querydsl {
  33. jpa = true
  34. querydslSourcesDir = querydslDir
  35. }
  36. sourceSets {
  37. main.java.srcDir querydslDir
  38. }
  39. configurations {
  40. querydsl.extendsFrom compileClasspath}
  41. compileQuerydsl {
  42. options.annotationProcessorPath = configurations.querydsl
  43. }