mybatis plus demo框架,加入自动生成table,方便jpa用户快速切入mybatis的使用
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
|
|
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-SNAPSHOT'
|
|
|
|
sourceCompatibility = '1.8'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
runtimeOnly 'mysql:mysql-connector-java'
|
|
|
|
testImplementation('org.springframework.boot:spring-boot-starter-test') {
|
|
|
|
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
|
|
|
|
}
|
|
|
|
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
compile group: 'com.baomidou', name: 'mybatis-plus-boot-starter', version: '3.3.2'
|
|
|
|
compile group: 'com.gitee.sunchenbin.mybatis.actable', name: 'mybatis-enhance-actable', version: '1.2.1.RELEASE'
|
|
|
|
// compile group: 'com.github.xiaoymin', name: 'knife4j-spring-boot-starter', version: '2.0.4'
|
|
|
|
// implementation 'com.github.xiaoymin:knife4j-spring-boot-starter:2.0.2'
|
|
|
|
|
|
|
|
compile group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|