1 Star 0 Fork 17

mayday/spring-boot-restful

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
天阙 提交于 2017-07-21 22:02 . feat(*): add the h2 db model map object
buildscript {
ext.kotlin_version = '1.1.3-2' // Required for Kotlin integration
ext.spring_boot_version = '1.5.4.RELEASE'
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // Required for Kotlin integration
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version" // See https://kotlinlang.org/docs/reference/compiler-plugins.html#kotlin-spring-compiler-plugin
classpath "org.springframework.boot:spring-boot-gradle-plugin:$spring_boot_version"
}
}
apply plugin: 'kotlin' // Required for Kotlin integration
apply plugin: "kotlin-spring" // See https://kotlinlang.org/docs/reference/compiler-plugins.html#kotlin-spring-compiler-plugin
apply plugin: 'org.springframework.boot'
jar {
baseName = 'some-rest-service'
version = '0.1.0'
}
repositories {
mavenLocal()
mavenCentral()
maven{
url "https://dl.bintray.com/kotlin/exposed"
}
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" // Required for Kotlin integration
compile 'org.springframework.boot:spring-boot-starter-web'
testCompile('org.springframework.boot:spring-boot-starter-test')
compile("org.springframework.boot:spring-boot-starter-security")
compile 'org.jetbrains.exposed:exposed:0.8.3'
compile 'com.h2database:h2'
//compile "org.jetbrains.ktor:ktor-core"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Kotlin
1
https://gitee.com/chrismayday/spring-boot-restful.git
git@gitee.com:chrismayday/spring-boot-restful.git
chrismayday
spring-boot-restful
spring-boot-restful
master

搜索帮助