当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 34

天生骄傲 / HiWeather
关闭

forked from Zhiyuan Ling / HiWeather
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 2.08 KB
一键复制 编辑 原始数据 按行查看 历史
Zhiyuan Ling 提交于 2017-05-18 20:42 . 更改包名
group 'com.vito'
buildscript {
ext.SpringBootStarterVersion = "1.5.1.RELEASE"
repositories {
maven { url 'http://maven.aliyun.com/mvn/repository/' }
maven { url "https://repo.spring.io/plugins-snapshot" }
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath "org.jetbrains.kotlin:kotlin-allopen:$KOTLIN_VERSION"
classpath "org.jetbrains.kotlin:kotlin-noarg:$KOTLIN_VERSION"
classpath "io.spring.gradle:dependency-management-plugin:0.6.1.RELEASE"
classpath group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: "$SpringBootStarterVersion"
}
}
apply plugin: 'idea'
apply plugin: 'kotlin'
apply plugin: "kotlin-allopen"
apply plugin: "kotlin-spring"
apply plugin: "kotlin-noarg"
apply plugin: "kotlin-jpa"
apply plugin: 'org.springframework.boot'
sourceCompatibility = 1.8
repositories {
maven { url 'http://maven.aliyun.com/mvn/repository/' }
maven { url "https://repo.spring.io/plugins-snapshot" }
maven { url "https://repo.spring.io/snapshot" }
maven { url "https://repo.spring.io/milestone" }
}
configurations {
compile.exclude module: 'slf4j-log4j12'
}
dependencies {
compile "org.jetbrains:annotations:15.0"
compile "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION"
compile "org.springframework.boot:spring-boot-starter-web"
compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
compile "org.springframework.boot:spring-boot-starter-security"
compile "org.springframework.boot:spring-boot-starter-data-jpa"
compile("org.springframework.boot:spring-boot-devtools")
compile 'net.sourceforge.nekohtml:nekohtml'
// webmagic 爬虫
compile 'us.codecraft:webmagic-core:0.5.3'
compile ('us.codecraft:webmagic-extension:0.5.3')
compile 'mysql:mysql-connector-java'
compile group: 'commons-lang', name: 'commons-lang', version: '2.6'
testCompile group: 'junit', name: 'junit'
}
Kotlin
1
https://gitee.com/bing32/HiWeather.git
git@gitee.com:bing32/HiWeather.git
bing32
HiWeather
HiWeather
master

搜索帮助