Skip to content

Commit

Permalink
Start sadu migration (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
rainbowdashlabs authored Jun 1, 2024
1 parent d33aae3 commit e5ade23
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use nix
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ buildNumber.properties
/out/

/site/
/.direnv
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ plugins {
alias(libs.plugins.shadow)
alias(libs.plugins.spotless)
java
`maven-publish`
}

group = "de.chojo"
Expand Down Expand Up @@ -49,7 +48,7 @@ dependencies {

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(19))
languageVersion.set(JavaLanguageVersion.of(21))
}
withSourcesJar()
withJavadocJar()
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gradle:jdk19-alpine as build
FROM gradle:jdk21-alpine as build

COPY . .
RUN gradle clean build --no-daemon
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencyResolutionManagement {
versionCatalogs {
create("libs") {
// misc
version("sadu", "2.0.0")
version("sadu", "2.2.0")
library("sadu-queries", "de.chojo.sadu", "sadu-queries").versionRef("sadu")
library("sadu-updater", "de.chojo.sadu", "sadu-updater").versionRef("sadu")
library("sadu-postgresql", "de.chojo.sadu", "sadu-postgresql").versionRef("sadu")
Expand Down
6 changes: 6 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{ pkgs ? import <nixpkgs> {}, ... }:

pkgs.mkShell {
packages = with pkgs; [jdk21];
}

0 comments on commit e5ade23

Please sign in to comment.