Skip to content

Commit

Permalink
fix(edc-extension): remove unused maven repos (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhommen committed Jan 25, 2024
1 parent c2d1b92 commit 7f6dea9
Show file tree
Hide file tree
Showing 5 changed files with 463 additions and 57 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: Publish package to GitHub Packages
name: Build and Publish EDC Extension
on:
push:
branches: ["main"]
paths: ["logging-house-client"]
paths: ["logging-house-client/**/*"]
pull_request:
branches: ["main"]

jobs:
publish:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -17,7 +20,13 @@ jobs:
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3
- name: Build package
if: ${{ github.ref != 'refs/heads/main' }}
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
with:
arguments: build
- name: Publish package
if: ${{ github.ref == 'refs/heads/main' }}
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
with:
arguments: publish
Expand Down
13 changes: 4 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ plugins {
dependencies {
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.0")
testImplementation("org.mockito:mockito-core:3.6.28")
}

val downloadArtifact: Configuration by configurations.creating {
Expand All @@ -32,20 +33,14 @@ allprojects {

checkstyle {
toolVersion = "10.9.3"
configFile = rootProject.file("docs/dev/checkstyle/checkstyle-config.xml")
configDirectory.set(rootProject.file("docs/dev/checkstyle"))
configFile = rootProject.file("checkstyle/checkstyle-config.xml")
configDirectory.set(rootProject.file("checkstyle"))
maxErrors = 0 // does not tolerate errors
}

repositories {
mavenCentral()
mavenLocal()
maven {
url = uri("https://maven.iais.fraunhofer.de/artifactory/eis-ids-public/")
}
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
}
}
}

Expand All @@ -57,7 +52,7 @@ subprojects {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/truzzt/mds-ap3")
version = "0.1.0"
version = "0.1.1"
credentials {
username = System.getenv("USERNAME")
password = System.getenv("TOKEN")
Expand Down
Loading

0 comments on commit 7f6dea9

Please sign in to comment.