12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- buildscript {
- ext {
- springBootVersion = '1.4.4.RELEASE'
- // 0.12.0 升级到了 Gradle 3.4,Gradle 2.14.1 只能使用 0.11.0及以下
- dockerVersion = '0.12.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.0.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-data-jpa"
- compile "mysql:mysql-connector-java:5.1.21"
- compile "com.alibaba:fastjson:1.2.24"
- }
|