From 44f1838a8e0b15aa9c426afba2c6183b86044da8 Mon Sep 17 00:00:00 2001 From: Marcin Kuszczak <1508798+aartiPl@users.noreply.github.com> Date: Sat, 15 Jul 2023 17:47:39 +0200 Subject: [PATCH] Initial import --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ build.gradle.kts | 7 ++----- 2 files changed, 24 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..064b3ac --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Tests +on: + - push + - workflow_dispatch +jobs: + test: + runs-on: ubuntu-latest + steps: + # https://github.com/marketplace/actions/checkout + - name: CHECKOUT REPOSITORY + uses: actions/checkout@v2 + # https://github.com/marketplace/actions/setup-java-jdk + - name: SETUP JAVA JDK + uses: actions/setup-java@v2.3.1 + with: + java-version: 11 + distribution: 'zulu' + # https://github.com/marketplace/actions/gradle-build-action + - name: BUILD + uses: gradle/gradle-build-action@v2.4.2 + with: + arguments: build diff --git a/build.gradle.kts b/build.gradle.kts index b98e2dc..896955a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,13 +3,14 @@ val kotlinVersion: String = "1.8.22" plugins { kotlin("jvm") version "1.8.22" id("com.adarshr.test-logger") version "3.2.0" + `java-library` `maven-publish` signing idea } group = "net.igsoft" -version = "0.5-SNAPSHOT" +version = "0.5.0-SNAPSHOT" repositories { mavenCentral() @@ -92,8 +93,6 @@ dependencies { implementation("org.apache.commons:commons-lang3:3.12.0") - implementation("org.slf4j:slf4j-nop:2.0.5") - testImplementation("org.junit.platform:junit-platform-suite-engine:1.9.0") testImplementation("org.junit.platform:junit-platform-suite-api:1.9.0") testImplementation("org.junit.platform:junit-platform-suite-commons:1.9.0") @@ -101,6 +100,4 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter-params:5.9.0") testImplementation("com.willowtreeapps.assertk:assertk-jvm:0.25") testImplementation("io.mockk:mockk:1.13.2") - - testImplementation(kotlin("script-runtime")) }