mybatis plus demo框架,加入自动生成table,方便jpa用户快速切入mybatis的使用
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.
|
|
|
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'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-aop'
|
|
|
|
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'
|
|
|
|
compile group: 'com.alibaba', name: 'fastjson', version: '1.2.73'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|