代码拉取完成,页面将自动刷新
同步操作将从 baomidou/mybatisplus-spring-boot 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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}")
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。