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
相关推荐
程序猿乐锅9 小时前
从0-1一文详解RabbitMQ考虑考虑12 小时前
JDK26中的List.ofLazy()小蒜学长12 小时前
基于SpringBoot的公寓报修管理系统的设计与实现(代码+数据库+LW)for_ever_love__12 小时前
MySQL 主从复制讲透:binlog 原理、搭建步骤与读写分离小π军15 小时前
操作系统面试题倔强的石头10615 小时前
应用账号最小权限实践:读写账号、报表账号、运维账号分层Shaoshing15 小时前
ThreadLocal写后端的胖头鱼15 小时前
一文详解CAS鱼宵16 小时前
Spring AI 提示词模板:{变量} 参数化 + few-shot,一条提示词反复用