1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- // Gradle build file for Gradle 2.14.1
- // Created by huxz on 2017-3-17 13:38:59
- buildscript {
- ext {
- springBootVersion = '1.5.3.RELEASE'
- // 0.12.0 升级到了 Gradle 3.4,Gradle 2.14.1 只能使用 0.11.0及以下
- dockerVersion = '0.11.0'
- dcokerRegistry = "10.10.100.200:5000"
- }
- repositories {
- maven { url "https://plugins.gradle.org/m2/" }
- maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
- mavenCentral()
- jcenter()
- }
- dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
- classpath "gradle.plugin.com.palantir.gradle.docker:gradle-docker:${dockerVersion}"
- }
- }
- group 'com.uas.cloud.mall'
- version '0.1.10'
- apply plugin: 'java'
- apply plugin: "com.palantir.docker"
- apply plugin: "org.springframework.boot"
- apply from: "$rootDir/gradle/tasks.gradle"
- apply from: "$rootDir/gradle/dependencies-base.gradle"
- jar {
- baseName = project.name
- version = ''
- }
- allprojects {
- sourceCompatibility = 1.8
- }
- dependencies {
- compile("org.springframework.boot:spring-boot-starter-web")
- compile("org.springframework.boot:spring-boot-starter-data-mongodb")
- }
|