4 Star 0 Fork 0

codingcraft/staff-mgmt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
codingcraft 提交于 2022-03-12 23:30 . [feat]add flyway.
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java application project to get you started.
* For more details take a look at the 'Building Java & JVM projects' chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.9/userguide/building_java_projects.html
*/
plugins {
// Apply the application plugin to add support for building a CLI application in Java.
id 'application'
id "org.springframework.boot" version "2.6.4"
id 'java'
id 'idea'
}
repositories {
// Use JCenter for resolving dependencies.
jcenter()
mavenCentral()
}
dependencies {
// This dependency is used by the application.
implementation 'com.google.guava:guava:29.0-jre'
implementation 'org.springframework.boot:spring-boot-starter-web:2.6.4'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.6.4'
implementation 'org.flywaydb:flyway-mysql:8.5.2'
implementation 'mysql:mysql-connector-java:8.0.28'
// Use JUnit test framework.
testImplementation 'junit:junit:4.13'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.6.4'
compileOnly 'org.projectlombok:lombok:1.18.22'
}
application {
// Define the main class for the application.
mainClass = 'staff.mgmt.App'
}
//flyway {
// user = "root"
// password = "admin"
// url = "jdbc:mysql://localhost:13306/staff_mgmt"
//}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/codingcraft/staff-mgmt.git
git@gitee.com:codingcraft/staff-mgmt.git
codingcraft
staff-mgmt
staff-mgmt
master

搜索帮助