1 Star 0 Fork 10

java_orgs/YiqiManager

forked from 知足常乐/YiqiManager 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 3.49 KB
一键复制 编辑 原始数据 按行查看 历史
知足常乐 提交于 2019-08-07 20:04 . ok
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')
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/java_orgs/YiqiManager.git
[email protected]:java_orgs/YiqiManager.git
java_orgs
YiqiManager
YiqiManager
master

搜索帮助