build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. plugins {
  2. id 'java'
  3. id 'org.springframework.boot' version '3.2.3'
  4. id 'io.spring.dependency-management' version '1.1.4'
  5. }
  6. group = 'com.wechi.adweb'
  7. version = '0.0.1-SNAPSHOT'
  8. java {
  9. toolchain {
  10. languageVersion = JavaLanguageVersion.of(17)
  11. }
  12. }
  13. repositories {
  14. mavenCentral()
  15. }
  16. dependencies {
  17. implementation 'org.springframework.boot:spring-boot-starter-web'
  18. implementation 'org.springframework:spring-context'
  19. implementation 'org.slf4j:slf4j-api'
  20. implementation 'org.apache.commons:commons-lang3'
  21. implementation 'com.google.guava:guava:33.0.0-jre'
  22. compileOnly 'org.projectlombok:lombok'
  23. annotationProcessor 'org.projectlombok:lombok'
  24. // Swagger docs without additional configuration.
  25. // swagger-ui/index.html & v3/api-docs
  26. implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.4.0'
  27. // Google
  28. implementation 'com.google.apis:google-api-services-tagmanager:v2-rev20240701-2.0.0'
  29. implementation 'com.google.analytics:google-analytics-admin:0.59.0'
  30. implementation 'com.google.analytics:google-analytics-data:0.60.0'
  31. testImplementation 'org.springframework.boot:spring-boot-starter-test'
  32. testImplementation 'org.junit.jupiter:junit-jupiter-api'
  33. testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
  34. }
  35. tasks.named('test') {
  36. useJUnitPlatform()
  37. }