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.
62 lines
1.8 KiB
62 lines
1.8 KiB
buildscript {
|
|
ext {
|
|
queryDslVersion = '4.3.1'
|
|
}
|
|
repositories {
|
|
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
|
|
}
|
|
}
|
|
plugins {
|
|
id 'org.springframework.boot' version '2.3.3.RELEASE'
|
|
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.aiprose'
|
|
version = '0.0.1'
|
|
sourceCompatibility = '1.8'
|
|
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
repositories {
|
|
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
|
|
maven { url "http://maven.aiprose.com/nexus/content/repositories/public/" }
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
runtimeOnly 'mysql:mysql-connector-java'
|
|
|
|
// QueryDSL
|
|
implementation("com.querydsl:querydsl-core:${queryDslVersion}")
|
|
implementation("com.querydsl:querydsl-jpa:${queryDslVersion}")
|
|
|
|
annotationProcessor("com.querydsl:querydsl-apt:${queryDslVersion}:jpa",
|
|
"org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2.Final",
|
|
"javax.annotation:javax.annotation-api:1.3.2","org.projectlombok:lombok")
|
|
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
|
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
|
}
|
|
|
|
implementation 'com.aiprose:utils:0.1.3'
|
|
implementation 'com.aiprose:jpa-common-utils:2.3.3'
|
|
compile group: 'com.alibaba', name: 'fastjson', version: '1.2.73'
|
|
|
|
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.11'
|
|
compile group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0'
|
|
}
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|