Compare commits

...

3 Commits

Author SHA1 Message Date
renovate[bot]
dad5e92160 Update mcr.microsoft.com/devcontainers/java Docker tag to v3 2026-02-02 20:06:29 +00:00
Julien Lengrand-Lambert
89dbda55b8 Moves up to next version, and fixes demo-remote 2025-10-26 00:00:32 +01:00
julien Lengrand-Lambert
d982bc94cb Adding retro Java 17 compatibility
* Moving back to Java 17 compatibility. I'll change demo-remote a little later, because otherwise I have to break the project for some time.

* Prepares version 0.1.3
2025-10-26 00:43:04 +02:00
8 changed files with 19 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "Java",
"image": "mcr.microsoft.com/devcontainers/java:1-21",
"image": "mcr.microsoft.com/devcontainers/java:3-21",
"features": {
"ghcr.io/devcontainers/features/java:1": {
"version": "none",

2
.idea/misc.xml generated
View File

@@ -4,7 +4,7 @@
<component name="FrameworkDetectionExcludesConfiguration">
<file type="web" url="file://$PROJECT_DIR$" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_24" project-jdk-name="temurin-21" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" project-jdk-name="temurin-21" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

View File

@@ -66,7 +66,8 @@ The parser extracts `meta[property^=og:]` tags and builds structured data models
## Development Notes
- **JVM Toolchain**: Java 24 (see `jvmToolchain(24)` in build files)
- **JVM Toolchain**: Java 17 (see `jvmToolchain(17)` in build files)
- **Minimum Java Version**: Java 17 (required by Ksoup dependency)
- **Testing**: CI matrix tests on Java 17 and 23 via GitHub Actions
- **Dependencies**: Core library uses Ksoup (v0.2.5) for HTML parsing and network requests
- **Maven Coordinates**: Group `fr.lengrand`, artifact `opengraphkt`, currently at `0.1.2-SNAPSHOT`

View File

@@ -6,7 +6,7 @@ Thank you for your interest in contributing to OpenGraphKt! This document provid
### Prerequisites
- Java 24 (JVM toolchain)
- Java 17 or later (JVM toolchain configured for Java 17)
- Gradle 8.14.3+ (wrapper included)
- Git

View File

@@ -10,7 +10,7 @@ repositories {
}
dependencies {
implementation("fr.lengrand:opengraphkt:0.1.2")
implementation("fr.lengrand:opengraphkt:0.1.3")
testImplementation(kotlin("test"))
}
@@ -19,7 +19,7 @@ tasks.test {
}
kotlin {
jvmToolchain(24)
jvmToolchain(17)
}
application {

View File

@@ -24,7 +24,7 @@ tasks.test {
}
kotlin {
jvmToolchain(24)
jvmToolchain(17)
}
application {

View File

@@ -5,7 +5,7 @@ plugins {
}
group = "fr.lengrand"
version = "0.1.3-SNAPSHOT"
version = "0.1.4-SNAPSHOT"
repositories {
mavenCentral()
@@ -33,8 +33,16 @@ tasks.jar {
}
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlin {
jvmToolchain(24)
jvmToolchain(17)
compilerOptions {
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
}
}
mavenPublishing {

View File

@@ -24,5 +24,5 @@ tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(24)
jvmToolchain(17)
}