Skip to content

Commit

Permalink
Create card (#96)
Browse files Browse the repository at this point in the history
* bump versions & switch native image build to paketo (finally !!)

* refactor errorService and useApi and add cardService tests
  • Loading branch information
wisskirchenj authored Apr 6, 2024
1 parent eecfa30 commit e737afe
Show file tree
Hide file tree
Showing 21 changed files with 329 additions and 275 deletions.
8 changes: 4 additions & 4 deletions .idea/runConfigurations/FlashcardsApplication.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions auth-server/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ tasks.withType<Test> {
}

val dockerHubRepo = "wisskirchenj/"
// On ARM64 (!) uncomment the following lines to build JVM AMD64 image, since then default paketo builder is used
tasks.named<BootBuildImage>("bootBuildImage") {
builder.set("dashaun/builder:tiny")
// buildpacks.set(listOf("paketobuildpacks/java:beta"))
buildpacks.set(listOf("paketobuildpacks/java-native-image:beta"))
builder.set("paketobuildpacks/builder-jammy-buildpackless-tiny")
imageName.set(dockerHubRepo + rootProject.name + project.name + ":" + version)
createdDate.set("now")
environment.put("BP_NATIVE_IMAGE", "true")
}
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import org.springframework.boot.gradle.tasks.run.BootRun
plugins {
id("org.springframework.boot") version libs.versions.spring.boot
id("io.spring.dependency-management") version libs.versions.spring.dependency.management
id("org.graalvm.buildtools.native") version libs.versions.graalvm.buildtools
}

repositories {
Expand Down
Loading

0 comments on commit e737afe

Please sign in to comment.