Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Dependency Submission

on:
push:
branches: [ master ]
paths: [ 'build.gradle', 'settings.gradle', 'gradle/**', '.github/workflows/dependency-submission.yml' ]
workflow_dispatch:

permissions:
contents: write

jobs:
dependency-submission:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 11
- uses: gradle/actions/dependency-submission@v6
with:
cache-provider: basic
11 changes: 7 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ version '4.3.1'
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: "io.freefair.lombok"
apply plugin: "com.github.johnrengelman.shadow"

repositories {
mavenCentral()
Expand All @@ -19,18 +18,17 @@ buildscript {
}
dependencies {
classpath "io.freefair.gradle:lombok-plugin:5.1.1"
classpath "com.github.jengelman.gradle.plugins:shadow:5.2.0"
}
}

dependencies {
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'org.slf4j:slf4j-api:1.7.25'
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.5.16'
testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.5.38'
testImplementation group: 'org.testng', name: 'testng', version: '7.7.0'
testImplementation 'commons-io:commons-io:2.18.0'
testImplementation 'org.mockito:mockito-core:4.4.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:4.11.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:4.12.0'
testImplementation 'uk.org.webcompere:system-stubs-testng:2.1.3'
}

Expand All @@ -47,3 +45,8 @@ jacocoTestReport {
}

check.dependsOn jacocoTestReport

// Gradle 6.1 otherwise picks the sources variant of Kotlin multiplatform modules such as okio 3.6
configurations.matching { it.canBeResolved }.configureEach {
attributes.attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category, Category.LIBRARY))
}
Loading