From 948cdb0054e18c1b65682c9a57d43f705a63be22 Mon Sep 17 00:00:00 2001 From: Selvarasu Sathiah <140747625+ssathiah@users.noreply.github.com> Date: Fri, 9 Aug 2024 09:22:58 -0400 Subject: [PATCH] build script cleanup --- .github/workflows/Build-and-deploy-nnd-service.yaml | 2 +- .github/workflows/Release-container-nnd-service.yaml | 1 + build.gradle | 1 - nnd-data-exchange-service/build.gradle | 11 ----------- nnd-message-processor/build.gradle | 1 - 5 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/Build-and-deploy-nnd-service.yaml b/.github/workflows/Build-and-deploy-nnd-service.yaml index cf43cef..4fc0ae6 100644 --- a/.github/workflows/Build-and-deploy-nnd-service.yaml +++ b/.github/workflows/Build-and-deploy-nnd-service.yaml @@ -4,7 +4,6 @@ on: branches: - main - master - - rel-** - Cndit-1600-* paths-ignore: - "docker-compose.yml" @@ -54,6 +53,7 @@ jobs: distribution: 'temurin' java-version: '17' cache: 'gradle' + - name: create-nnd-data-poll-jar working-directory: ./nnd-data-poll-service run: ./gradlew build --no-daemon diff --git a/.github/workflows/Release-container-nnd-service.yaml b/.github/workflows/Release-container-nnd-service.yaml index de66e41..e9e56d5 100644 --- a/.github/workflows/Release-container-nnd-service.yaml +++ b/.github/workflows/Release-container-nnd-service.yaml @@ -73,6 +73,7 @@ jobs: distribution: 'temurin' java-version: '17' cache: 'gradle' + - name: create-nnd-data-poll-jar working-directory: ./nnd-data-poll-service run: ./gradlew build --no-daemon diff --git a/build.gradle b/build.gradle index 2b3721c..c312cbe 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,6 @@ version = '1.0.1-SNAPSHOT' apply plugin: "com.dipien.semantic-version" subprojects { - repositories { mavenCentral() maven { diff --git a/nnd-data-exchange-service/build.gradle b/nnd-data-exchange-service/build.gradle index 9c485f6..44f6e6b 100644 --- a/nnd-data-exchange-service/build.gradle +++ b/nnd-data-exchange-service/build.gradle @@ -3,8 +3,6 @@ plugins { id 'org.springframework.boot' version '3.3.2' id 'io.spring.dependency-management' version '1.1.6' id 'com.github.johnrengelman.shadow' version '7.1.2' - id 'jacoco' - id "org.sonarqube" version "4.2.1.3168" } group = 'gov.cdc' @@ -28,7 +26,6 @@ repositories { test { useJUnitPlatform() - finalizedBy jacocoTestReport } dependencies { @@ -52,12 +49,4 @@ dependencies { testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.security:spring-security-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' -} -sonarqube { - properties { - property "sonar.sourceEncoding", "UTF-8" - property "sonar.projectKey", "CDCgov_NEDSS-NNDSS" - property "sonar.organization", "cdcgov" - property "sonar.host.url", "https://sonarcloud.io" - } } \ No newline at end of file diff --git a/nnd-message-processor/build.gradle b/nnd-message-processor/build.gradle index 8c1b3a7..0c7e55d 100644 --- a/nnd-message-processor/build.gradle +++ b/nnd-message-processor/build.gradle @@ -43,7 +43,6 @@ test { useJUnitPlatform() } - bootJar { archiveBaseName.set('netss-message-processor') archiveVersion.set('')