编译启动成功
This commit is contained in:
parent
a36c9d007b
commit
d4c400b9d0
|
|
@ -11,12 +11,18 @@ dependencies {
|
||||||
implementation "com.github.tobato:fastdfs-client:1.27.2"
|
implementation "com.github.tobato:fastdfs-client:1.27.2"
|
||||||
implementation "commons-fileupload:commons-fileupload:1.4"
|
implementation "commons-fileupload:commons-fileupload:1.4"
|
||||||
implementation "commons-io:commons-io:2.8.0"
|
implementation "commons-io:commons-io:2.8.0"
|
||||||
|
implementation "com.ruoyi:ruoyi-api-system:${devVersion}"
|
||||||
|
implementation "com.ruoyi:ruoyi-common-core:${devVersion}"
|
||||||
|
implementation "com.ruoyi:ruoyi-common-datascope:${devVersion}"
|
||||||
|
implementation "com.ruoyi:ruoyi-common-log:${devVersion}"
|
||||||
|
implementation "com.ruoyi:ruoyi-common-redis:${devVersion}"
|
||||||
|
implementation "com.ruoyi:ruoyi-common-security:${devVersion}"
|
||||||
|
implementation "com.ruoyi:ruoyi-common-swagger:${devVersion}"
|
||||||
implementation "de.codecentric:spring-boot-admin-starter-server:2.3.0"
|
implementation "de.codecentric:spring-boot-admin-starter-server:2.3.0"
|
||||||
implementation "io.springfox:springfox-swagger2:2.9.2"
|
implementation "io.springfox:springfox-swagger2:2.9.2"
|
||||||
implementation "io.springfox:springfox-swagger-ui:2.9.2"
|
implementation "io.springfox:springfox-swagger-ui:2.9.2"
|
||||||
implementation "io.swagger:swagger-annotations:1.5.24"
|
implementation "io.swagger:swagger-annotations:1.5.24"
|
||||||
implementation "javax.servlet:javax.servlet-api:4.0.1"
|
implementation "javax.servlet:javax.servlet-api:4.0.1"
|
||||||
implementation "mysql:mysql-connector-java:8.0.21"
|
|
||||||
implementation "org.apache.commons:commons-lang3:3.11"
|
implementation "org.apache.commons:commons-lang3:3.11"
|
||||||
implementation "org.apache.commons:commons-pool2:2.9.0"
|
implementation "org.apache.commons:commons-pool2:2.9.0"
|
||||||
implementation "org.apache.poi:poi-ooxml:4.1.2"
|
implementation "org.apache.poi:poi-ooxml:4.1.2"
|
||||||
|
|
@ -26,18 +32,17 @@ dependencies {
|
||||||
implementation "org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.4"
|
implementation "org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.4"
|
||||||
implementation "org.quartz-scheduler:quartz:2.3.2"
|
implementation "org.quartz-scheduler:quartz:2.3.2"
|
||||||
implementation "org.springframework.boot:spring-boot-autoconfigure:${springBoot}"
|
implementation "org.springframework.boot:spring-boot-autoconfigure:${springBoot}"
|
||||||
// implementation "org.springframework.boot:spring-boot-autoconfigure:${springBoot}"
|
|
||||||
implementation "org.springframework.boot:spring-boot-starter-actuator:${springBoot}"
|
implementation "org.springframework.boot:spring-boot-starter-actuator:${springBoot}"
|
||||||
implementation "org.springframework.boot:spring-boot-starter-data-redis:${springBoot}"
|
implementation "org.springframework.boot:spring-boot-starter-data-redis:${springBoot}"
|
||||||
implementation "org.springframework.boot:spring-boot-starter-data-redis:2.3.4.RELEASE"
|
implementation "org.springframework.boot:spring-boot-starter-data-redis:2.3.4.RELEASE"
|
||||||
implementation "org.springframework.boot:spring-boot-starter-jdbc:${springBoot}"
|
implementation "org.springframework.boot:spring-boot-starter-jdbc:${springBoot}"
|
||||||
implementation "org.springframework.boot:spring-boot-starter-security:${springBoot}"
|
implementation "org.springframework.boot:spring-boot-starter-security:${springBoot}"
|
||||||
// implementation "org.springframework.boot:spring-boot-starter-security:${springBoot}"
|
|
||||||
implementation "org.springframework.boot:spring-boot-starter-validation:${springBoot}"
|
implementation "org.springframework.boot:spring-boot-starter-validation:${springBoot}"
|
||||||
// implementation "org.springframework.boot:spring-boot-starter-validation:${springBoot}"
|
|
||||||
implementation "org.springframework.boot:spring-boot-starter-web:${springBoot}"
|
implementation "org.springframework.boot:spring-boot-starter-web:${springBoot}"
|
||||||
implementation "org.springframework.boot:spring-boot-starter-web:2.3.4.RELEASE"
|
|
||||||
implementation "org.springframework.cloud:spring-cloud-starter-gateway:${springCloud}"
|
implementation "org.springframework.cloud:spring-cloud-starter-gateway:${springCloud}"
|
||||||
implementation "org.springframework.cloud:spring-cloud-starter-openfeign:${springCloud}"
|
implementation "org.springframework.cloud:spring-cloud-starter-openfeign:${springCloud}"
|
||||||
implementation "org.springframework:spring-context-support:5.3.2"
|
implementation "org.springframework:spring-context-support:5.3.2"
|
||||||
|
implementation project(":ruoyi-common-core")
|
||||||
|
implementation project(":ruoyi-common-redis")
|
||||||
|
implementation project(":ruoyi-common-security")
|
||||||
}
|
}
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
#! /bin/bash
|
||||||
|
for dir in $(ls .)
|
||||||
|
do
|
||||||
|
if [[ -f $dir/project-*.jar ]];then
|
||||||
|
./$dir/project-*.jar &
|
||||||
|
fi
|
||||||
|
|
||||||
|
done
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
docker rm -f nginx-latest
|
||||||
|
docker run --name=nginx-latest --restart=always -p 80:80 -v /opt/pscada-online/nginx-conf/:/etc/nginx/ -v /var/logs/nginx:/var/logs/nginx -v /opt/pscada-online/www:/opt/pscada-online/www -e TZ="Asia/Shanghai" -d nginx
|
||||||
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
#! /bin/bash
|
||||||
|
docker rm -f redis-6.0
|
||||||
|
docker run --name=redis-6.0 --restart=always -itd -v /opt/pscada-online/redis-conf/redis.conf:/etc/redis/redis.conf -p 6379:6379 redis
|
||||||
|
|
@ -9,6 +9,4 @@ do
|
||||||
echo -e "\033[32m----------------- $gfile 模块编译成功 ---------------------- \033[0m"
|
echo -e "\033[32m----------------- $gfile 模块编译成功 ---------------------- \033[0m"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
currentDir=`pwd`
|
currentDir=`pwd`
|
||||||
shortName=${currentDir##*/}
|
shortName=${currentDir##*/}
|
||||||
rm -rf temp build-product-${shortName}.gradle
|
rm -rf temp ${shortName}-third-jar.gradle
|
||||||
echo "dependencies { ">> build-product-${shortName}.gradle
|
echo "dependencies { ">> ${shortName}-third-jar.gradle
|
||||||
|
|
||||||
find . -name "build.gradle" | xargs cat |grep -E "compile group|compile '|implementation " | egrep -v 'gridnt' >> temp
|
find . -name "build.gradle" | xargs cat |grep -E "compile group|compile
|
||||||
sort temp |uniq >> build-product-${shortName}.gradle
|
'|implementation " | egrep -v 'gridnt' >> temp
|
||||||
|
sort temp |uniq >> ${shortName}-third-jar.gradle
|
||||||
rm -rf temp
|
rm -rf temp
|
||||||
|
|
||||||
echo "} ">> build-product-${shortName}.gradle
|
echo "} ">> ${shortName}-third-jar.gradle
|
||||||
|
|
||||||
rm -rf temp gridnt-jar-${shortName}.md
|
|
||||||
find . -name "build.gradle" | xargs cat |grep -E "compile group|compile '|implementation " | grep -E 'gridnt' >> temp
|
|
||||||
sort temp |uniq >> gridnt-jar-${shortName}.md
|
|
||||||
rm -rf temp
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ $1 ]];then
|
||||||
|
|
||||||
|
scp -r ./ruoyi-auth/build/libs/project-ruoyi-auth-dev-9-SNAPSHOT.jar $1/auth
|
||||||
|
scp -r ./ruoyi-gateway/build/libs/project-ruoyi-gateway-dev-9-SNAPSHOT.jar $1/gateway
|
||||||
|
scp -r ./ruoyi-modules/ruoyi-file/build/libs/project-ruoyi-file-dev-9-SNAPSHOT.jar $1/file
|
||||||
|
scp -r ./ruoyi-modules/ruoyi-gen/build/libs/project-ruoyi-modules-gen-dev-9-SNAPSHOT.jar $1/gen
|
||||||
|
scp -r ./ruoyi-modules/ruoyi-job/build/libs/project-ruoyi-modules-job-dev-9-SNAPSHOT.jar $1/job
|
||||||
|
scp -r ./ruoyi-modules/ruoyi-system/build/libs/project-ruoyi-modules-system-dev-9-SNAPSHOT.jar $1/system
|
||||||
|
scp -r ./ruoyi-visual/ruoyi-monitor/build/libs/project-ruoyi-visual-monitor-dev-9-SNAPSHOT.jar $1/monitor
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
@ -21,7 +21,6 @@ buildscript {
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
devVersion = "dev-9-SNAPSHOT"
|
devVersion = "dev-9-SNAPSHOT"
|
||||||
devVersion = "2.3.0"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -30,9 +29,6 @@ apply from: "../../build-config/build-all.gradle"
|
||||||
apply from: "../../build-config/build-base.gradle"
|
apply from: "../../build-config/build-base.gradle"
|
||||||
apply from: "../../build-config/build-publish.gradle"
|
apply from: "../../build-config/build-publish.gradle"
|
||||||
|
|
||||||
group = "com.ruoyi"
|
|
||||||
archivesBaseName = "${project.name}"
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
implementation "com.ruoyi:ruoyi-common-core:${devVersion}"
|
implementation "com.ruoyi:ruoyi-common-core:${devVersion}"
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ dependencies {
|
||||||
implementation "org.springframework.boot:spring-boot-starter-actuator:${springBoot}"
|
implementation "org.springframework.boot:spring-boot-starter-actuator:${springBoot}"
|
||||||
implementation "org.mariadb.jdbc:mariadb-java-client:2.7.1"
|
implementation "org.mariadb.jdbc:mariadb-java-client:2.7.1"
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ dependencies {
|
||||||
implementation "org.apache.commons:commons-lang3:3.11"
|
implementation "org.apache.commons:commons-lang3:3.11"
|
||||||
implementation "org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.4"
|
implementation "org.mybatis.spring.boot:mybatis-spring-boot-starter:2.1.4"
|
||||||
|
|
||||||
implementation "org.springframework.boot:spring-boot-starter-security:${springBoot}"
|
|
||||||
implementation "org.springframework.boot:spring-boot-starter-validation:${springBoot}"
|
implementation "org.springframework.boot:spring-boot-starter-validation:${springBoot}"
|
||||||
implementation "org.springframework.cloud:spring-cloud-starter-openfeign:${springCloud}"
|
implementation "org.springframework.cloud:spring-cloud-starter-openfeign:${springCloud}"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,9 @@ buildscript {
|
||||||
}
|
}
|
||||||
ext {
|
ext {
|
||||||
springBoot = "2.3.4.RELEASE"
|
springBoot = "2.3.4.RELEASE"
|
||||||
|
// springBoot = "2.4.0"
|
||||||
alibabaCloud = "2.2.3.RELEASE"
|
alibabaCloud = "2.2.3.RELEASE"
|
||||||
springCloud = "2.2.5.RELEASE"
|
springCloud = "2.2.6.RELEASE"
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBoot}")
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBoot}")
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ ext {
|
||||||
devVersion = "dev-9-SNAPSHOT"
|
devVersion = "dev-9-SNAPSHOT"
|
||||||
}
|
}
|
||||||
|
|
||||||
description = "ruoyi-modules-file"
|
description = "ruoyi-modules-job"
|
||||||
apply from: "../../build-config/build-all.gradle"
|
apply from: "../../build-config/build-all.gradle"
|
||||||
apply from: "../../build-config/build-base.gradle"
|
apply from: "../../build-config/build-base.gradle"
|
||||||
apply from: "../../build-config/build-boot-jar.gradle"
|
apply from: "../../build-config/build-boot-jar.gradle"
|
||||||
|
|
@ -46,11 +46,6 @@ dependencies {
|
||||||
implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config:${alibabaCloud}"
|
implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config:${alibabaCloud}"
|
||||||
implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery:${alibabaCloud}"
|
implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery:${alibabaCloud}"
|
||||||
implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-sentinel:${alibabaCloud}"
|
implementation "com.alibaba.cloud:spring-cloud-starter-alibaba-sentinel:${alibabaCloud}"
|
||||||
|
|
||||||
// implementation "org.springframework.boot:spring-boot-starter-security:${springBoot}"
|
|
||||||
// implementation "org.springframework.boot:spring-boot-starter-validation:${springBoot}"
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static def getGitVersion() {
|
static def getGitVersion() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue