From 3d75566db0c6a6955e923db66bf411f57b2bd800 Mon Sep 17 00:00:00 2001 From: ancavar Date: Thu, 4 Apr 2024 20:35:51 +0300 Subject: [PATCH] create folder for task1 --- .github/workflows/ci.yaml | 3 ++- build.gradle.kts => task1/build.gradle.kts | 0 gradle.properties => task1/gradle.properties | 0 {gradle => task1/gradle}/wrapper/gradle-wrapper.jar | Bin .../gradle}/wrapper/gradle-wrapper.properties | 0 gradlew => task1/gradlew | 0 gradlew.bat => task1/gradlew.bat | 0 settings.gradle.kts => task1/settings.gradle.kts | 0 .../src}/benchmark/kotlin/LockFreeBenchmark.kt | 0 {src => task1/src}/main/kotlin/EliminationArray.kt | 0 .../src}/main/kotlin/EliminationBackoffStack.kt | 0 {src => task1/src}/main/kotlin/LockFreeExchanger.kt | 0 {src => task1/src}/main/kotlin/LockFreeStack.kt | 0 {src => task1/src}/main/kotlin/Node.kt | 0 {src => task1/src}/main/kotlin/Stack.kt | 0 .../src}/test/kotlin/EliminationBackoffStackTest.kt | 0 {src => task1/src}/test/kotlin/LockFreeStackTest.kt | 0 17 files changed, 2 insertions(+), 1 deletion(-) rename build.gradle.kts => task1/build.gradle.kts (100%) rename gradle.properties => task1/gradle.properties (100%) rename {gradle => task1/gradle}/wrapper/gradle-wrapper.jar (100%) rename {gradle => task1/gradle}/wrapper/gradle-wrapper.properties (100%) rename gradlew => task1/gradlew (100%) rename gradlew.bat => task1/gradlew.bat (100%) rename settings.gradle.kts => task1/settings.gradle.kts (100%) rename {src => task1/src}/benchmark/kotlin/LockFreeBenchmark.kt (100%) rename {src => task1/src}/main/kotlin/EliminationArray.kt (100%) rename {src => task1/src}/main/kotlin/EliminationBackoffStack.kt (100%) rename {src => task1/src}/main/kotlin/LockFreeExchanger.kt (100%) rename {src => task1/src}/main/kotlin/LockFreeStack.kt (100%) rename {src => task1/src}/main/kotlin/Node.kt (100%) rename {src => task1/src}/main/kotlin/Stack.kt (100%) rename {src => task1/src}/test/kotlin/EliminationBackoffStackTest.kt (100%) rename {src => task1/src}/test/kotlin/LockFreeStackTest.kt (100%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bae33e0..da7d9bf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,6 +16,7 @@ jobs: distribution: 'zulu' - name: Build & test - uses: gradle/actions/setup-gradle@v3 + - uses: gradle/actions/setup-gradle@v3 + working-directory: ./task1 with: arguments: build diff --git a/build.gradle.kts b/task1/build.gradle.kts similarity index 100% rename from build.gradle.kts rename to task1/build.gradle.kts diff --git a/gradle.properties b/task1/gradle.properties similarity index 100% rename from gradle.properties rename to task1/gradle.properties diff --git a/gradle/wrapper/gradle-wrapper.jar b/task1/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from gradle/wrapper/gradle-wrapper.jar rename to task1/gradle/wrapper/gradle-wrapper.jar diff --git a/gradle/wrapper/gradle-wrapper.properties b/task1/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from gradle/wrapper/gradle-wrapper.properties rename to task1/gradle/wrapper/gradle-wrapper.properties diff --git a/gradlew b/task1/gradlew similarity index 100% rename from gradlew rename to task1/gradlew diff --git a/gradlew.bat b/task1/gradlew.bat similarity index 100% rename from gradlew.bat rename to task1/gradlew.bat diff --git a/settings.gradle.kts b/task1/settings.gradle.kts similarity index 100% rename from settings.gradle.kts rename to task1/settings.gradle.kts diff --git a/src/benchmark/kotlin/LockFreeBenchmark.kt b/task1/src/benchmark/kotlin/LockFreeBenchmark.kt similarity index 100% rename from src/benchmark/kotlin/LockFreeBenchmark.kt rename to task1/src/benchmark/kotlin/LockFreeBenchmark.kt diff --git a/src/main/kotlin/EliminationArray.kt b/task1/src/main/kotlin/EliminationArray.kt similarity index 100% rename from src/main/kotlin/EliminationArray.kt rename to task1/src/main/kotlin/EliminationArray.kt diff --git a/src/main/kotlin/EliminationBackoffStack.kt b/task1/src/main/kotlin/EliminationBackoffStack.kt similarity index 100% rename from src/main/kotlin/EliminationBackoffStack.kt rename to task1/src/main/kotlin/EliminationBackoffStack.kt diff --git a/src/main/kotlin/LockFreeExchanger.kt b/task1/src/main/kotlin/LockFreeExchanger.kt similarity index 100% rename from src/main/kotlin/LockFreeExchanger.kt rename to task1/src/main/kotlin/LockFreeExchanger.kt diff --git a/src/main/kotlin/LockFreeStack.kt b/task1/src/main/kotlin/LockFreeStack.kt similarity index 100% rename from src/main/kotlin/LockFreeStack.kt rename to task1/src/main/kotlin/LockFreeStack.kt diff --git a/src/main/kotlin/Node.kt b/task1/src/main/kotlin/Node.kt similarity index 100% rename from src/main/kotlin/Node.kt rename to task1/src/main/kotlin/Node.kt diff --git a/src/main/kotlin/Stack.kt b/task1/src/main/kotlin/Stack.kt similarity index 100% rename from src/main/kotlin/Stack.kt rename to task1/src/main/kotlin/Stack.kt diff --git a/src/test/kotlin/EliminationBackoffStackTest.kt b/task1/src/test/kotlin/EliminationBackoffStackTest.kt similarity index 100% rename from src/test/kotlin/EliminationBackoffStackTest.kt rename to task1/src/test/kotlin/EliminationBackoffStackTest.kt diff --git a/src/test/kotlin/LockFreeStackTest.kt b/task1/src/test/kotlin/LockFreeStackTest.kt similarity index 100% rename from src/test/kotlin/LockFreeStackTest.kt rename to task1/src/test/kotlin/LockFreeStackTest.kt