buildscript {
repositories {
maven {
url "https://maven.aliyun.com/repository/gradle-plugin/"
}
}
dependencies {
classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.3"
}
}
plugins {
id 'java-library'
}
apply plugin: "org.sonarqube"
group 'yt-sal'
version '1.0'
sourceCompatibility = 15
targetCompatibility = 15
[compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
java{
withSourcesJar()
}
ext
{
path = [
trd : 'E:\\JDY_LightManufacturing\\lib\\trd',
boscorelib: 'E:\\JDY_LightManufacturing\\lib\\bos-corelib',
bos : 'E:\\JDY_LightManufacturing\\lib\\bos',
biz : 'E:\\JDY_LightManufacturing\\lib\\biz'
]
}
def trd = ext.path.trd
def biz = ext.path.biz
def bos = ext.path.bos
def boscorelib = ext.path.boscorelib
dependencies {
implementation fileTree(dir: boscorelib, include: '*.jar')
implementation fileTree(dir: bos, include: '*.jar')
implementation fileTree(dir: biz, include: '*.jar')
implementation fileTree(dir: trd, include: '*.jar')
implementation fileTree(dir: '/home/theia/eklib', include: '*.jar')
}
// gradle copytoeklib -Dorg.gradle.java.home=/usr/xc/runtime/jdk8
task copytoeklib(type: Copy, dependsOn:build){
group 'buildCopyToEklib'
from 'build/libs'
into '/home/theia/eklib'
}
金蝶苍穹build.gradle配置
星空2026-09-19 0:22
相关推荐
步行cgn4 小时前
Spring 基于 XML 的自动装配:byName 详解大帅点兵4 小时前
Apache Ant 1.9.9 完整讲解LuTshoes5 小时前
spring ai 实战 手搓 PlaneExecuteAgent这料鬼有毒5 小时前
二刷hot100-73.矩阵置零caoerzhong5 小时前
JeeWMS 开源仓库管理系统二次开发与接口对接实战:Java WMS 如何与 ERP、MES 和自动化设备打通长谷深风1115 小时前
评测AI Agent:三种裁判各司其职边境悍匪5 小时前
蜗牛学苑 Java 智能体学习 Day42|项目周开发技术汇总 1 思维导图复盘槑有烦恼6 小时前
Java 字符串 & List集合 高频易错真题复盘(含全部错题+修正)语戚6 小时前
力扣 1621. 大小为K的不重叠线段的数目:动态规划(Java 实现)