Skip to content

Commit

Permalink
编译版本
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghanzheng committed Dec 6, 2023
1 parent c318840 commit 15e3001
Show file tree
Hide file tree
Showing 37 changed files with 115 additions and 10 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ allprojects {
mavenCentral()
}

if (project.name.contains('intellij') || project.name == 'sample') {
/*if (project.name.contains('intellij') || project.name == 'sample') {
sourceCompatibility = '17'
targetCompatibility = '17'
return
}
}*/

sourceCompatibility = '1.8'
targetCompatibility = '1.8'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

apply plugin: 'java-library'
//apply plugin: "org.javamodularity.moduleplugin"
Expand Down
3 changes: 3 additions & 0 deletions concept-cloud/concept-cloud-web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ext {
set('publishDescription', 'Cloud Web')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.springframework.boot:spring-boot-starter-webflux'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ext {
set('publishDescription', 'Load Balance 4 Connection')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'org.springframework.cloud:spring-cloud-starter'
compileOnly 'org.springframework.boot:spring-boot-starter-amqp'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ext {
set('publishDescription', 'Load Balance 4 Connection')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'com.fasterxml.jackson.core:jackson-databind'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ext {
set('publishDescription', 'Load Balance 4 Netty')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly "io.netty:netty-all:${NettyVersion}"
compileOnly project(':concept-connection-loadbalance:concept-connection-loadbalance-core')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ext {
set('publishDescription', 'Load Balance 4 WebSocket')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'org.springframework.boot:spring-boot-starter-webflux'
compileOnly 'org.springframework.boot:spring-boot-starter-websocket'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ext {
set('publishDescription', 'Load Balance 4 Netty')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
//compileOnly 'org.springframework.cloud:spring-cloud-starter'
compileOnly 'org.springframework.boot:spring-boot-starter-webflux'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ext {
set('publishDescription', 'Load Balance 4 WebSocket')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
//compileOnly 'org.springframework.cloud:spring-cloud-starter'
compileOnly 'org.springframework.boot:spring-boot-starter-webflux'
Expand Down
12 changes: 6 additions & 6 deletions concept-connection-loadbalance/version.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//ext.'ConceptConnectionLoadbalanceVersion' = '2.3.0'
//ext.'ConceptWebSocketLoadbalanceVersion' = '2.3.0'
//ext.'ConceptNettyLoadbalanceVersion' = '2.3.0'
ext.'ConceptConnectionLoadbalanceVersion' = 'local'
ext.'ConceptWebSocketLoadbalanceVersion' = 'local'
ext.'ConceptNettyLoadbalanceVersion' = 'local'
ext.'ConceptConnectionLoadbalanceVersion' = '2.3.2'
ext.'ConceptWebSocketLoadbalanceVersion' = '2.3.2'
ext.'ConceptNettyLoadbalanceVersion' = '2.3.2'
//ext.'ConceptConnectionLoadbalanceVersion' = 'local'
//ext.'ConceptWebSocketLoadbalanceVersion' = 'local'
//ext.'ConceptNettyLoadbalanceVersion' = 'local'
3 changes: 3 additions & 0 deletions concept-domain/concept-domain-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Domain Core 4 DDD')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly "org.springdoc:springdoc-openapi-ui:${SpringDocVersion}"
}
Expand Down
3 changes: 3 additions & 0 deletions concept-domain/concept-domain-mbp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Domain Mybatis Plus')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly "com.baomidou:mybatis-plus-boot-starter:${MyBatisPlusVersion}"
compileOnly project(':concept-domain:concept-domain-core')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Domain Spring Boot Starter')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'org.springframework.boot:spring-boot-starter-web'
//api "com.github.linyuzai:concept-domain-core:${ConceptDomainVersion}"
Expand Down
3 changes: 3 additions & 0 deletions concept-download/concept-download-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ext {
set('publishDescription', 'Build Download in a simple way')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'org.springframework.boot:spring-boot-starter-aop'
compileOnly 'org.springframework.boot:spring-boot-starter-web'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Build Download in a simple way')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly project(':concept-download:concept-download-core')
implementation 'org.jetbrains.kotlin:kotlin-stdlib'
Expand Down
3 changes: 3 additions & 0 deletions concept-download/concept-download-source-okhttp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ext {
set('publishDescription', 'Build Download in a simple way')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'org.springframework.boot:spring-boot-starter'
compileOnly project(':concept-download:concept-download-core')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ ext {
set('publishDescription', 'Build Download in a simple way')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'org.springframework.boot:spring-boot-starter'
compileOnly project(':concept-download:concept-download-core')
Expand Down
3 changes: 3 additions & 0 deletions concept-event/concept-event-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Event 4 MQ')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'com.fasterxml.jackson.core:jackson-databind'
}
Expand Down
3 changes: 3 additions & 0 deletions concept-event/concept-event-kafka/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Event 4 MQ')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'org.springframework.boot:spring-boot-autoconfigure'
compileOnly 'org.springframework.kafka:spring-kafka'
Expand Down
3 changes: 3 additions & 0 deletions concept-event/concept-event-local/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Event 4 MQ')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'org.springframework.boot:spring-boot-starter'
compileOnly project(':concept-event:concept-event-core')
Expand Down
3 changes: 3 additions & 0 deletions concept-event/concept-event-rabbitmq/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Event 4 MQ')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'org.springframework.boot:spring-boot-starter-amqp'
compileOnly project(':concept-event:concept-event-core')
Expand Down
3 changes: 3 additions & 0 deletions concept-event/concept-event-spring-boot-starter/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Event 4 MQ')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {

compileOnly 'org.springframework.boot:spring-boot-starter'
Expand Down
3 changes: 3 additions & 0 deletions concept-extension/concept-extension-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Extension any thing')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
}

Expand Down
3 changes: 3 additions & 0 deletions concept-inherit/concept-inherit-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Inherit fields and methods')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
}

Expand Down
3 changes: 3 additions & 0 deletions concept-mapqueue/concept-mapqueue-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Map Queue Core')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
}

Expand Down
3 changes: 3 additions & 0 deletions concept-plugin/concept-plugin-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Dynamic loading class with external jar simply and gracefully')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
}

Expand Down
3 changes: 3 additions & 0 deletions concept-plugin/concept-plugin-jar/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Dynamic loading class with external jar simply and gracefully')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly project(':concept-plugin:concept-plugin-core')
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Dynamic loading class with external jar simply and gracefully')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly project(':concept-plugin:concept-plugin-core')
compileOnly project(':concept-plugin:concept-plugin-jar')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', '')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
}

Expand Down
3 changes: 3 additions & 0 deletions concept-reactive/concept-reactive-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Reactive Core')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {

}
Expand Down
3 changes: 3 additions & 0 deletions concept-reactive/concept-reactive-reactor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Reactive 4 Reactor')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly "io.projectreactor:reactor-core:${ReactorVersion}"
compileOnly project(':concept-reactive:concept-reactive-core')
Expand Down
3 changes: 3 additions & 0 deletions concept-reactive/concept-reactive-rxjava3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Reactive 4 Rxjava3')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly "io.reactivex.rxjava3:rxjava:${RxJava3Version}"
compileOnly project(':concept-reactive:concept-reactive-core')
Expand Down
3 changes: 3 additions & 0 deletions concept-router/concept-router-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Router 4 Debug')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'com.fasterxml.jackson.core:jackson-databind'
}
Expand Down
3 changes: 3 additions & 0 deletions concept-router/concept-router-loadbalancer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Router 4 Debug')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly 'org.springframework.boot:spring-boot-starter'
compileOnly 'org.springframework.cloud:spring-cloud-loadbalancer'
Expand Down
3 changes: 3 additions & 0 deletions concept-router/concept-router-ribbon/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Router 4 Debug')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
compileOnly project(':concept-router:concept-router-core')
compileOnly 'org.springframework.cloud:spring-cloud-starter-gateway:2.2.5.RELEASE'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Router 4 Debug')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {

compileOnly 'org.springframework.boot:spring-boot-starter-web'
Expand Down
3 changes: 3 additions & 0 deletions concept-sync-waiting/concept-sync-waiting-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Transfer callback async to sync waiting')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
}

Expand Down
3 changes: 3 additions & 0 deletions concept-thing/concept-thing-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ext {
set('publishDescription', 'Dynamic Configure Things')
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

dependencies {
}

Expand Down

0 comments on commit 15e3001

Please sign in to comment.