|
|
|
buildscript {
|
|
|
|
ext.repos = {
|
|
|
|
//mavenLocal()
|
|
|
|
//mavenCentral()
|
|
|
|
// maven { url 'https://plugins.gradle.org/m2/' }
|
|
|
|
//jcenter()
|
|
|
|
maven { url 'http://139.9.112.197:3081/repository/GradleRep/' }
|
|
|
|
}
|
|
|
|
ext.platformVersion = '1.0.+'
|
|
|
|
ext.appVersion = '1.0.0'
|
|
|
|
repositories repos
|
|
|
|
dependencies {
|
|
|
|
classpath "com.hypaas:hypaas-gradle:${platformVersion}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories repos
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'idea'
|
|
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'com.hypaas.app'
|
|
|
|
|
|
|
|
apply from: './gradle/style.gradle'
|
|
|
|
|
|
|
|
hypaas {
|
|
|
|
title = "HY-IOT-PAAS"
|
|
|
|
description = "Hypaas IOT Platform"
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
apply plugin: 'idea';
|
|
|
|
apply plugin: 'eclipse'
|
|
|
|
|
|
|
|
group = "com.hypaas"
|
|
|
|
version = "${appVersion}"
|
|
|
|
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
targetCompatibility = 1.8
|
|
|
|
}
|
|
|
|
configurations {
|
|
|
|
runtime.exclude group: 'javax.ws.rs', module: 'jsr311-api'
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation project(":modules:test")
|
|
|
|
|
|
|
|
implementation 'com.alibaba:easyexcel:2.2.6'
|
|
|
|
implementation 'com.alibaba:fastjson:1.2.83'
|
|
|
|
//aem
|
|
|
|
implementation files('libs/aspose-cells-8.5.2.jar',
|
|
|
|
'libs/aspose-words-18.10-jdk16.jar',
|
|
|
|
'libs/aspose-diagram-force.jar',
|
|
|
|
'libs/aspose-imaging-19.6-crakev.jar',
|
|
|
|
'libs/tracker.jar',
|
|
|
|
'libs/subterra-base-core.jar',
|
|
|
|
'libs/projects.jar',
|
|
|
|
'libs/platform-persistence.jar',
|
|
|
|
'libs/org.apache.commons.commons-fileupload_1.4.0.jar',
|
|
|
|
'libs/boot.jar',
|
|
|
|
'libs/platform.jar',
|
|
|
|
'libs/platform-repository.jar',
|
|
|
|
'libs/commons-lang-2.4.jar',
|
|
|
|
'libs/subterra-base-data.jar',
|
|
|
|
'libs/annotations.jar',
|
|
|
|
'libs/util.jar'
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
wrapper {
|
|
|
|
gradleVersion = "6.3"
|
|
|
|
}
|