Compare commits

...

6 Commits

Author SHA1 Message Date
kalle 2bdc40258b Make CI use woodpecker instead of drone
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-10-14 17:03:20 +02:00
[BOT] Renovate f0554bcd97 chore(deps): update dependency gradle to v7.5.1 (#8)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [gradle](https://gradle.org) ([source](https://github.com/gradle/gradle)) | minor | `7.4.2` -> `7.5.1` |

---

### Release Notes

<details>
<summary>gradle/gradle</summary>

### [`v7.5.1`](https://github.com/gradle/gradle/releases/tag/v7.5.1)

This is a patch release for 7.5. We recommend using 7.5.1 instead of 7.5

[Read the Release Notes](https://docs.gradle.org/7.5.1/release-notes.html)

We would like to thank the following community members for their contributions to this release of Gradle:
[Michael Bailey](https://github.com/yogurtearl),
[Josh Kasten](https://github.com/jkasten2),
[Marcono1234](https://github.com/Marcono1234),
[mataha](https://github.com/mataha),
[Lieven Vaneeckhaute](https://github.com/denshade),
[kiwi-oss](https://github.com/kiwi-oss),
[Stefan Neuhaus](https://github.com/stefanneuhaus),
[George Thomas](https://github.com/smoothreggae),
[Anja Papatola](https://github.com/apalopta),
[Björn Kautler](https://github.com/Vampire),
[David Burström](https://github.com/davidburstrom),
[Vladimir Sitnikov](https://github.com/vlsi),
[Roland Weisleder](https://github.com/rweisleder),
[Konstantin Gribov](https://github.com/grossws),
[David Op de Beeck](https://github.com/DavidOpDeBeeck),
[aSemy](https://github.com/aSemy),
[Rene Groeschke](https://github.com/breskeby),
[Jonathan Leitschuh](https://github.com/JLLeitschuh),
[Aurimas Liutikas](https://github.com/liutikas),
[Jamie Tanna](https://github.com/jamietanna),
[Xin Wang](https://github.com/scaventz),
[Atsuto Yamashita](https://github.com/att55),
[Taeik Lim](https://github.com/acktsap),
[Peter Gafert](https://github.com/codecholeric),
[Alex Landau](https://github.com/AlexLandau),
[Jerry Wiltse](https://github.com/solvingj),
[Tyler Burke](https://github.com/T-A-B),
[Matthew Haughton](https://github.com/3flex),
[Filip Daca](https://github.com/filip-daca),
[Simão Gomes Viana](https://github.com/xdevs23),
[Vaidotas Valuckas](https://github.com/rieske),
[Edgars Jasmans](https://github.com/yasmans),
[Tomasz Godzik](https://github.com/tgodzik),
[Jeff](https://github.com/mathjeff),
[Lajos Veres](https://github.com/vlajos)

#### Upgrade instructions

Switch your build to use Gradle 7.5.1 by updating your wrapper:

`./gradlew wrapper --gradle-version=7.5.1`

See the [Gradle 7.x upgrade guide](https://docs.gradle.org/7.5.1/userguide/upgrading_version\_7.html#changes\_7.5) to learn about deprecations, breaking changes and other considerations when upgrading.

#### Reporting Problems

If you find a problem with this release, please file a bug on [GitHub Issues](https://github.com/gradle/gradle/issues) adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Co-authored-by: [BOT] Renovate <renovate@kallestruik.nl>
Reviewed-on: #8
Co-authored-by: [BOT] Renovate <renovate@noreply.git.kallestruik.nl>
Co-committed-by: [BOT] Renovate <renovate@noreply.git.kallestruik.nl>
2022-10-14 16:58:16 +02:00
[BOT] Renovate 31e97baef8 chore(deps): update dependency org.jetbrains.kotlinx:kotlinx-cli to v0.3.5 (#7)
continuous-integration/drone/push Build is passing Details
Reviewed-on: #7
Co-authored-by: [BOT] Renovate <renovate@noreply.git.kallestruik.nl>
Co-committed-by: [BOT] Renovate <renovate@noreply.git.kallestruik.nl>
2022-07-09 12:30:05 +02:00
[BOT] Renovate b83ea432e3 chore(deps): update dependency gradle to v7.4.2 (#5)
continuous-integration/drone/push Build is passing Details
Reviewed-on: #5
Co-authored-by: [BOT] Renovate <renovate@noreply.git.kallestruik.nl>
Co-committed-by: [BOT] Renovate <renovate@noreply.git.kallestruik.nl>
2022-06-19 16:43:37 +02:00
[BOT] Renovate 876bec9b79 chore(deps): update plugin org.jetbrains.kotlin.jvm to v1.7.0 (#3)
continuous-integration/drone/push Build is passing Details
Reviewed-on: #3
Co-authored-by: [BOT] Renovate <renovate@noreply.git.kallestruik.nl>
Co-committed-by: [BOT] Renovate <renovate@noreply.git.kallestruik.nl>
2022-06-19 16:43:04 +02:00
[BOT] Renovate e5515a24b1 Configure Renovate (#1)
continuous-integration/drone/push Build is passing Details
Reviewed-on: #1
Co-authored-by: [BOT] Renovate <renovate@noreply.git.kallestruik.nl>
Co-committed-by: [BOT] Renovate <renovate@noreply.git.kallestruik.nl>
2022-06-19 16:04:59 +02:00
8 changed files with 146 additions and 140 deletions

View File

@ -1,43 +0,0 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: "Build"
image: "eclipse-temurin:16-jdk"
commands:
- "./gradlew assemble"
- name: "Test"
image: "eclipse-temurin:16-jdk"
commands:
- "./gradlew test"
- name: "Create Release"
image: plugins/gitea-release
settings:
api_key:
from_secret: "gitea_api_key"
base_url:
from_secret: "gitea_base_url"
files: build/libs/CSharpCommentChecker-*.jar
when:
event:
- tag
- name: "Push docker image"
image: plugins/docker
settings:
username:
from_secret: "docker_username"
password:
from_secret: "docker_password"
registry:
from_secret: "docker_registry"
repo:
from_secret: "docker_repo"
tags: latest
auto_tag: true
when:
event:
- tag

38
.woodpecker.yml Normal file
View File

@ -0,0 +1,38 @@
pipeline:
build:
image: "eclipse-temurin:16-jdk"
commands:
- "./gradlew assemble"
test:
image: "eclipse-temurin:16-jdk"
commands:
- "./gradlew test"
release:
image: plugins/gitea-release
settings:
api_key:
from_secret: "gitea_api_key"
base_url:
from_secret: "gitea_base_url"
files: build/libs/CSharpCommentChecker-*.jar
when:
event:
- tag
docker:
image: plugins/docker
settings:
username:
from_secret: "docker_username"
password:
from_secret: "docker_password"
registry:
from_secret: "docker_registry"
repo:
from_secret: "docker_repo"
tags: latest
auto_tag: true
when:
event:
- tag

View File

@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.6.20"
kotlin("jvm") version "1.7.0"
}
group = "nl.kallestruik"
@ -12,7 +12,7 @@ repositories {
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.4")
implementation("org.jetbrains.kotlinx:kotlinx-cli:0.3.5")
testImplementation(kotlin("test"))
}

Binary file not shown.

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

16
gradlew vendored
View File

@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright ? 2015-2021 the original authors.
# Copyright © 2015-2021 the original authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -32,10 +32,10 @@
# Busybox and similar reduced shells will NOT work, because this script
# requires all of these POSIX shell features:
# * functions;
# * expansions ?$var?, ?${var}?, ?${var:-default}?, ?${var+SET}?,
# ?${var#prefix}?, ?${var%suffix}?, and ?$( cmd )?;
# * compound commands having a testable exit status, especially ?case?;
# * various built-in commands including ?command?, ?set?, and ?ulimit?.
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
# * compound commands having a testable exit status, especially «case»;
# * various built-in commands including «command», «set», and «ulimit».
#
# Important for patching:
#
@ -205,6 +205,12 @@ set -- \
org.gradle.wrapper.GradleWrapperMain \
"$@"
# Stop when "xargs" is not available.
if ! command -v xargs >/dev/null 2>&1
then
die "xargs is not available"
fi
# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.

180
gradlew.bat vendored
View File

@ -1,89 +1,91 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto execute
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%"=="" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
:end
@rem End local scope for the variables with windows NT shell
if %ERRORLEVEL% equ 0 goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
set EXIT_CODE=%ERRORLEVEL%
if %EXIT_CODE% equ 0 set EXIT_CODE=1
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
exit /b %EXIT_CODE%
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega

3
renovate.json Normal file
View File

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}