Skip to content

Commit

Permalink
Update flatpak and gradle scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bailuk committed Aug 12, 2024
1 parent c6a443d commit 8a38a8e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
11 changes: 6 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
application

Expand All @@ -8,19 +10,18 @@ plugins {
kotlin("jvm") version "2.0.10"
}

java.sourceCompatibility = JavaVersion.VERSION_11
java.targetCompatibility = JavaVersion.VERSION_11
java.sourceCompatibility = JavaVersion.VERSION_17
java.targetCompatibility = JavaVersion.VERSION_17

repositories {
mavenCentral()
gradlePluginPortal()
maven { url = uri("https://jitpack.io") }
maven { url = uri("maven-local") }
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
compilerOptions {
jvmTarget.set(JvmTarget.JVM_17)
}
}

Expand Down
2 changes: 1 addition & 1 deletion flatpak/ch.bailu.gtk_meteo.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{
"type": "git",
"url": "https://github.com/bailuk/gtk-meteo.git",
"branch": "5a43ed7cb3f2bab8cdfbc2e1b845753f99d60879"
"branch": "c6a443d1cd72768e323ec785e21943673e79f1f4"
},
"gradle-sources.json"
],
Expand Down
14 changes: 6 additions & 8 deletions flatpak/ch.bailu.gtk_meteo.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<id>ch.bailu.gtk_meteo</id>
<name>GTK Meteo</name>
<summary>Select location from map and show weather forecast</summary>
<developer id="ch.bailu">
<name>bailuk</name>
</developer>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MIT</project_license>
<launchable type="desktop-id">ch.bailu.gtk_meteo.desktop</launchable>
Expand All @@ -18,20 +21,15 @@
<url type="homepage">https://github.com/bailuk/gtk-meteo/</url>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/bailuk/gtk-meteo/main/screenshot.png</image>
<caption>GTK Meteo</caption>
<image width="362" height="722">
https://raw.githubusercontent.com/bailuk/gtk-meteo/main/screenshot.png
</image>
</screenshot>
</screenshots>
<translation/>
<content_rating type="oars-1.1"/>
<releases>
<release version="0.2.2" date="2024-08-12"/>
<release version="0.2.1" date="2023-09-22"/>
<release version="0.2.0" date="2022-12-03"/>
<release version="0.1.0" date="2022-08-05"/>
</releases>
<custom>
<value key="Purism::form_factor">workstation</value>
<value key="Purism::form_factor">mobile</value>
</custom>
</component>

0 comments on commit 8a38a8e

Please sign in to comment.