224 Star 825 Fork 409

baomidou / mybatisplus-spring-boot

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
build.gradle 2.08 KB
Copy Edit Web IDE Raw Blame History
ext {
configuration = [
javaVersion = JavaVersion.VERSION_1_8
]
// 仓库配置
repositories {
mavenLocal()
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
maven { url 'https://repo.spring.io/libs-milestone' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
}
}
// 编译脚本
buildscript {
ext {
springBootVersion = "2.0.3.RELEASE"
mybatisPlusVersion = "3.0.5-SNAPSHOT"
}
// 仓库配置
repositories {
mavenLocal()
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
maven { url 'https://repo.spring.io/libs-milestone' }
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: "java"
apply plugin: "maven"
apply plugin: "idea"
apply plugin: 'org.springframework.boot'
apply plugin: "io.spring.dependency-management"
group = "com.patzn.cloud"
version = "1.0"
description "MP SpringBoot 案例"
sourceCompatibility = "${javaVersion}"
targetCompatibility = "${javaVersion}"
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
configurations {
// compile.exclude group: "ch.qos.logback"
compile.exclude group: "com.amazonaws"
compile.exclude group: "org.apache.tomcat"
compile.exclude module: "spring-boot-starter-tomcat"
}
// 依赖管理
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
}
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
compile("org.springframework.boot:spring-boot-starter-undertow:${springBootVersion}")
compile("com.h2database:h2:1.4.197")
compile("com.zaxxer:HikariCP:3.2.0")
compile("com.baomidou:mybatis-plus-boot-starter:${mybatisPlusVersion}")
compileOnly("org.springframework.boot:spring-boot-devtools:${springBootVersion}")
}
Java
1
https://git.oschina.net/baomidou/mybatisplus-spring-boot.git
git@git.oschina.net:baomidou/mybatisplus-spring-boot.git
baomidou
mybatisplus-spring-boot
mybatisplus-spring-boot
master

Search

103111 552b83b3 1850385 103110 ed87a847 1850385