1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- buildscript {
- ext {
- springBootVersion = '1.4.4.RELEASE'
- dockerVersion = '0.12.0'
- dockerRegistry = "10.10.100.200:5000"
- }
- repositories {
- maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
- maven { url "https://plugins.gradle.org/m2/" }
- maven { url 'http://10.10.101.21:8081/artifactory/plugins-release' }
- 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.ops'
- version '0.0.1'
- apply plugin: 'java'
- apply plugin: "com.palantir.docker"
- apply plugin: "org.springframework.boot"
- apply from: "$rootDir/gradle/tasks.gradle"
- apply from: "$rootDir/gradle/dependencies.gradle"
- jar {
- baseName = project.name
- version = ''
- }
- allprojects {
- sourceCompatibility = 1.8
- }
- dependencies {
- compile 'org.springframework.boot:spring-boot-starter-data-jpa'
- compile 'org.springframework.boot:spring-boot-starter-web'
- compile 'mysql:mysql-connector-java'
- compile 'commons-io:commons-io:2.5'
- }
|