Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(edc-extension): remove unused maven repos #17

Merged
merged 13 commits into from
Jan 25, 2024
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