1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/yiqirun-YiqiManager

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
build.gradle 3.5 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
15298377665 Отправлено 07.08.2019 15:04 2d538c2
plugins {
id 'groovy'
id 'eclipse'
id 'org.springframework.boot' version '2.1.3.RELEASE'
id 'io.spring.dependency-management' version '1.0.8.RELEASE'
id 'com.google.cloud.tools.jib' version '1.3.0'
}
allprojects {
repositories {
jcenter()
mavenCentral()
maven { url 'https://artifacts.alfresco.com/nexus/content/repositories/activiti-releases/' }
maven { url 'http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts/' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
maven { url 'https://plugins.gradle.org/m2/' }
//maven { url 'https://repo.spring.io/snapshot' }
//maven { url 'https://repo.spring.io/milestone' }
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
bootJar {
baseName = 'yiqimanager'
version = '0.0.1'
}
task binClean(type: Delete) {
delete './bin/'
}
clean.dependsOn binClean
jib {
from {
image = 'openjdk:8-jre-alpine'
}
to {
image = "registry.cn-shanghai.aliyuncs.com/yiqirun/${bootJar.baseName}:${bootJar.version}"
auth {
username='吃辣的怪叔叔'
password='1qaz@WSX'
}
}
container {
ports = ['9091']
}
allowInsecureRegistries = true
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
dependencies {
compileOnly project('YiqiManagerVue')
//web相关依赖
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.springframework.boot:spring-boot-starter-thymeleaf')
//工作流 Activiti相关依赖
compile('org.activiti:activiti-spring-boot-starter:7.1.34') {
exclude(module:'activiti-parent')
exclude(module:'activiti-api-dependencies')
exclude(module:'activiti-core-common-dependencies')
}
compile('org.activiti:activiti-image-generator:7.1.34') {
exclude(module:'activiti-parent')
exclude(module:'activiti-api-dependencies')
exclude(module:'activiti-core-common-dependencies')
}
//java mail发送邮件的依赖
compile('com.sun.mail:javax.mail:1.6.2')
compile('org.apache.commons:commons-email:1.4')
//Security相关依赖
compile('org.springframework.boot:spring-boot-starter-security')
//Spring Data相关依赖
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-cache')
compile('org.postgresql:postgresql')
//swagger相关依赖
compile('io.springfox:springfox-swagger2:2.9.2')
compile('io.springfox:springfox-swagger-ui:2.9.2')
//lombok相关依赖
compileOnly('org.projectlombok:lombok')
annotationProcessor('org.projectlombok:lombok')
//Tomcat相关依赖
runtime('javax.xml.bind:jaxb-api')
runtime('org.springframework.boot:spring-boot-starter-tomcat')
//redis相关依赖
implementation('org.springframework.boot:spring-boot-starter-data-redis')
compile('redis.clients:jedis')
//报表相关的依赖
compile('com.lowagie:itext:2.1.7.js6')
compile('com.itextpdf:itextpdf:5.5.13')
compile('net.sf.jasperreports:jasperreports:6.8.1')
//jdbc在activiti中应该已经引入了. 如果没有引入, 需要在这个地方显示引入
//compile('org.springframework.boot:spring-boot-starter-data-jdbc')
//jenkins依赖
compile('commons-logging:commons-logging:1.2')
//docker jib
compile('com.google.cloud.tools:jib-core:0.10.0')
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/yiqirun-YiqiManager.git
git@api.gitlife.ru:oschina-mirror/yiqirun-YiqiManager.git
oschina-mirror
yiqirun-YiqiManager
yiqirun-YiqiManager
master