Skip to content

Commit 8a38a8e

Browse files
committed
Update flatpak and gradle scripts
1 parent c6a443d commit 8a38a8e

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

build.gradle.kts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2+
13
plugins {
24
application
35

@@ -8,19 +10,18 @@ plugins {
810
kotlin("jvm") version "2.0.10"
911
}
1012

11-
java.sourceCompatibility = JavaVersion.VERSION_11
12-
java.targetCompatibility = JavaVersion.VERSION_11
13+
java.sourceCompatibility = JavaVersion.VERSION_17
14+
java.targetCompatibility = JavaVersion.VERSION_17
1315

1416
repositories {
15-
mavenCentral()
1617
gradlePluginPortal()
1718
maven { url = uri("https://jitpack.io") }
1819
maven { url = uri("maven-local") }
1920
}
2021

2122
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
22-
kotlinOptions {
23-
jvmTarget = "11"
23+
compilerOptions {
24+
jvmTarget.set(JvmTarget.JVM_17)
2425
}
2526
}
2627

flatpak/ch.bailu.gtk_meteo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{
2323
"type": "git",
2424
"url": "https://github.com/bailuk/gtk-meteo.git",
25-
"branch": "5a43ed7cb3f2bab8cdfbc2e1b845753f99d60879"
25+
"branch": "c6a443d1cd72768e323ec785e21943673e79f1f4"
2626
},
2727
"gradle-sources.json"
2828
],

flatpak/ch.bailu.gtk_meteo.metainfo.xml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<id>ch.bailu.gtk_meteo</id>
55
<name>GTK Meteo</name>
66
<summary>Select location from map and show weather forecast</summary>
7+
<developer id="ch.bailu">
8+
<name>bailuk</name>
9+
</developer>
710
<metadata_license>CC0-1.0</metadata_license>
811
<project_license>MIT</project_license>
912
<launchable type="desktop-id">ch.bailu.gtk_meteo.desktop</launchable>
@@ -18,20 +21,15 @@
1821
<url type="homepage">https://github.com/bailuk/gtk-meteo/</url>
1922
<screenshots>
2023
<screenshot type="default">
24+
<image>https://raw.githubusercontent.com/bailuk/gtk-meteo/main/screenshot.png</image>
2125
<caption>GTK Meteo</caption>
22-
<image width="362" height="722">
23-
https://raw.githubusercontent.com/bailuk/gtk-meteo/main/screenshot.png
24-
</image>
2526
</screenshot>
2627
</screenshots>
27-
<translation/>
28+
<content_rating type="oars-1.1"/>
2829
<releases>
30+
<release version="0.2.2" date="2024-08-12"/>
2931
<release version="0.2.1" date="2023-09-22"/>
3032
<release version="0.2.0" date="2022-12-03"/>
3133
<release version="0.1.0" date="2022-08-05"/>
3234
</releases>
33-
<custom>
34-
<value key="Purism::form_factor">workstation</value>
35-
<value key="Purism::form_factor">mobile</value>
36-
</custom>
3735
</component>

0 commit comments

Comments
 (0)