Skip to content

Commit

Permalink
Moved gradle sub parts to gradle folder #1321 + introduce archive
Browse files Browse the repository at this point in the history
- all gradle sub files from rootfolder are now moved
  to `gradle` subfolder
- introduced `sechub-commons-archive` gradle submodule for handling
  issues #1320, #1319 and #1167
  • Loading branch information
de-jcup committed May 9, 2022
1 parent 5f9ff7a commit 4403785
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: MIT
buildscript{

apply from: "${rootProject.projectDir}/libraries.gradle"
apply from: "${rootProject.projectDir}/projects.gradle"
apply from: "${rootProject.projectDir}/gradle/libraries.gradle"
apply from: "${rootProject.projectDir}/gradle/projects.gradle"

def customMavenRepoURL4plugins = System.getenv('CUST_MVN_URL_PLUGINS')
if (customMavenRepoURL4plugins!=null){
Expand Down Expand Up @@ -120,9 +120,9 @@ spotless {
}
}

apply from: "${rootProject.projectDir}/build-versioning.gradle"
apply from: "${rootProject.projectDir}/build-java.gradle"
apply from: "${rootProject.projectDir}/build-spring.gradle"
apply from: "${rootProject.projectDir}/build-maven.gradle"
apply from: "${rootProject.projectDir}/build-eclipse.gradle"
apply from: "${rootProject.projectDir}/build-report.gradle"
apply from: "${rootProject.projectDir}/gradle/build-versioning.gradle"
apply from: "${rootProject.projectDir}/gradle/build-java.gradle"
apply from: "${rootProject.projectDir}/gradle/build-spring.gradle"
apply from: "${rootProject.projectDir}/gradle/build-maven.gradle"
apply from: "${rootProject.projectDir}/gradle/build-eclipse.gradle"
apply from: "${rootProject.projectDir}/gradle/build-report.gradle"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions projects.gradle → gradle/projects.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ projectType = [
project(':sechub-commons-model'),
project(':sechub-commons-model-testframework'),
project(':sechub-commons-pds'),
project(':sechub-commons-archive'),
project(':sechub-storage-core'),
project(':sechub-wrapper-owasp-zap'),

Expand Down
18 changes: 18 additions & 0 deletions sechub-commons-archive/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: MIT
plugins {
id 'java-library'
}

dependencies{

api spring_boot_dependency.slf4j_api

api project(':sechub-commons-core')
api project(':sechub-commons-model')

testImplementation project(':sechub-testframework')
testImplementation spring_boot_dependency.junit_jupiter

testImplementation spring_boot_dependency.mockito_core
testImplementation spring_boot_dependency.hamcrest
}
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include 'sechub-cli',
'sechub-commons-core',
'sechub-commons-model',
'sechub-commons-pds',
'sechub-commons-archive',

/* server POD area */
'sechub-server', // executable spring boot jar
Expand Down

0 comments on commit 4403785

Please sign in to comment.