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

OSCHINA-MIRROR/UnlimitedBladeWorks_123-WinTestNG-platform-api

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
build.gradle 2.3 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
dongxuanliang252 Отправлено 04.01.2021 06:09 1719dde
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.5.19.RELEASE'
}
}
plugins {
id 'java'
}
apply plugin: 'war'
apply plugin: 'org.springframework.boot'
group = 'com.winbaoxian.testng'
version = '2.0.0'
sourceCompatibility = '1.8'
repositories {
mavenLocal()
maven { url "http://192.168.180.191:8081/nexus/content/repositories/public" }
maven { url "http://192.168.180.191:8081/nexus/content/repositories/snapshots/" }
maven { url 'https://maven.aliyun.com/repository/public' }
maven {
credentials {
username 'YqEg7E'
password 'kqPhqT56Db'
}
url 'https://repo.rdc.aliyun.com/repository/77327-snapshot-eSlStJ/'
}
mavenCentral()
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.16.22'
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'mysql:mysql-connector-java:8.0.15'
compile 'org.mongodb:mongo-java-driver:3.10.1'
compile 'com.aliyun.oss:aliyun-sdk-oss:2.4.0'
compile 'com.winbaoxian.testng:wintestng-core:2.0.0-SNAPSHOT'
compile "com.winbaoxian.module:win-security:1.0.0-SNAPSHOT"
compile 'com.winbaoxian.module:win-cas:1.0.0-SNAPSHOT'
compile 'org.testng:testng:6.14.3'
compile 'com.alibaba:easyexcel:2.2.3'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
def isWindows() {
return org.gradle.internal.os.OperatingSystem.current().isWindows()
}
String apidocCmd = isWindows() ? 'apidoc.cmd' : 'apidoc'
task apidocs(type: Exec, description: '执行生成apidoc文档操作') {
workingDir './'
def docCommand = [apidocCmd, '-o', './build/apidocs', '-f', 'java', '--debug', 'true']
commandLine docCommand
}
def defaultProperty(propertyName, defaultValue) {
return hasProperty(propertyName) ? project[propertyName] : defaultValue
}
ext{
env = defaultProperty('env', 'dev')
}
gradle.taskGraph.whenReady { taskGraph ->
//编译的时候放入资源
sourceSets {
main {
resources {
srcDirs = ["src/main/resources", "src/main/resources/${env}"]
includes = ["application.yml", "*.xml", "*.dic", "*.txt", "*.properties", "templates/**", "static/**"]
}
}
}
}

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

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

1
https://api.gitlife.ru/oschina-mirror/UnlimitedBladeWorks_123-WinTestNG-platform-api.git
git@api.gitlife.ru:oschina-mirror/UnlimitedBladeWorks_123-WinTestNG-platform-api.git
oschina-mirror
UnlimitedBladeWorks_123-WinTestNG-platform-api
UnlimitedBladeWorks_123-WinTestNG-platform-api
master