spring-boot-realworld-examp.../build.gradle

56 lines
2.0 KiB
Groovy
Raw Normal View History

plugins {
2021-03-03 09:29:52 +07:00
id 'org.springframework.boot' version '2.4.3'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
id 'idea'
id 'eclipse'
id "com.netflix.dgs.codegen" version "4.2.0"
2018-05-10 13:49:55 +07:00
}
2017-08-08 10:01:06 +07:00
version = '0.0.1-SNAPSHOT'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
2017-08-08 10:01:06 +07:00
repositories {
mavenLocal()
mavenCentral()
jcenter()
2017-08-08 10:01:06 +07:00
}
configurations {
compileOnly.extendsFrom annotationProcessor
2017-08-18 11:09:07 +07:00
}
2017-08-08 10:01:06 +07:00
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-hateoas'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.3'
implementation "com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter:latest.release"
implementation 'org.flywaydb:flyway-core'
implementation 'io.jsonwebtoken:jjwt:0.9.1'
implementation 'joda-time:joda-time:2.10.6'
implementation 'org.xerial:sqlite-jdbc:3.34.0'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'io.rest-assured:rest-assured:3.1.1'
testImplementation 'io.rest-assured:spring-mock-mvc:3.1.1'
testImplementation 'org.springframework.security:spring-security-test'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
2021-03-03 09:29:52 +07:00
testImplementation 'org.junit.vintage:junit-vintage-engine'
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:2.1.3'
}
test {
useJUnitPlatform()
2017-08-08 10:01:06 +07:00
}
generateJava {
schemaPaths = ["${projectDir}/src/main/resources/schema"] // List of directories containing schema files
packageName = 'io.spring.graphql' // The package name to use to generate sources
}