Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Hummel009 committed Jan 29, 2024
1 parent 9176c40 commit f68e864
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ permissions:
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
version: [ '1', '2', '3' ]
steps:
- uses: actions/checkout@main
- name: Set up JDK 21
Expand All @@ -21,12 +24,9 @@ jobs:
- name: Build with Gradle
uses: gradle/gradle-build-action@main
with:
arguments: build
arguments: :appLab${{matrix.version}}:build
- name: Upload Artifact
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v3.1.3
with:
name: compiled-artifact
path: |
./appLab1/build/libs/*.jar
./appLab2/build/libs/*.jar
./appLab3/build/libs/*.jar
path: ./appLab${{matrix.version}}/build/libs/*.jar
10 changes: 7 additions & 3 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
pluginManagement {
repositories {
google()
mavenLocal()
mavenCentral()
gradlePluginPortal()
}
}

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenLocal()
mavenCentral()
gradlePluginPortal()
}
}

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

include(":appLab1")
include(":appLab2")
include(":appLab3")

0 comments on commit f68e864

Please sign in to comment.