Skip to content

Commit 5bfb54a

Browse files
authored
Prepare release
# 0.6.0 - Generator: Add markdown summary logs - Generator: Add gstreamer support - Generator: Update Kotlin to 2.1.10 - Generator: Update gir files (sync with debian testing) - Library: Add PropertyHolder to accesss GObject properties - Library: Update findbugs to spotbugs-annotations:4.9.3 - Library: Update jna to 5.17.0 - CI: Update gradle to version 8.13 - CI: Update release plugin to version 1.18.18 - CI: Update JUnit to 5.12.1
2 parents e19032e + 6b2b73a commit 5bfb54a

File tree

82 files changed

+292249
-133052
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+292249
-133052
lines changed

.github/workflows/build-and-publish-debian-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create and publish debian build image
1+
name: Create and publish Debian build image
22

33
on:
44
workflow_dispatch:

.github/workflows/build-and-publish-fedora-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create and publish fedora build image
1+
name: Create and publish Fedora build image
22

33
on:
44
workflow_dispatch:

.github/workflows/build-on-debian.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build on debian
1+
name: Build on Debian
22

33
on:
44
push:
@@ -30,16 +30,13 @@ jobs:
3030
run: ./gradlew cV
3131

3232
- name: Generate source code
33-
run: make gen
33+
run: ./gradlew generate
3434

3535
- name: Build library
36-
run: make
37-
38-
- name: Build exsamples
39-
run: make examples
36+
run: ./gradlew build
4037

4138
- name: Upload artifact
42-
uses: actions/upload-artifact@v2
39+
uses: actions/upload-artifact@v4
4340
with:
4441
name: java-gtk
4542
path: java-gtk/build/libs/*

.github/workflows/build-on-fedora.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build on fedora
1+
name: Build on Fedora
22

33
on:
44
push:
@@ -31,16 +31,13 @@ jobs:
3131
run: ./gradlew cV
3232

3333
- name: Generate source code
34-
run: make gen
34+
run: ./gradlew generate
3535

3636
- name: Build library
37-
run: make
38-
39-
- name: Build exsamples
40-
run: make examples
37+
run: ./gradlew build
4138

4239
- name: Upload artifact
43-
uses: actions/upload-artifact@v2
40+
uses: actions/upload-artifact@v4
4441
with:
4542
name: java-gtk
4643
path: java-gtk/build/libs/*

.github/workflows/build-on-ubuntu.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Build on ubuntu
1+
name: Build on Ubuntu
22

33
on:
44
push:
55
branches:
66
- '*'
7-
- '!master'
7+
- '!main'
88
workflow_dispatch:
99

1010

@@ -30,5 +30,10 @@ jobs:
3030
- name: Generate source code
3131
run: ./gradlew generate
3232

33+
- name: Install GTK-4
34+
run: |
35+
sudo apt-get update
36+
sudo apt-get install -y libgtk-4-1
37+
3338
- name: Build library
34-
run: ./gradlew build -xtest
39+
run: ./gradlew build
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Build on Windows
2+
3+
on:
4+
push:
5+
branches: [ main, stage ]
6+
pull_request:
7+
branches: [ main, stage ]
8+
workflow_dispatch:
9+
10+
env:
11+
JAVA_TOOL_OPTIONS: '-Dfile.encoding=UTF8 -Djava-gtk.headless=true'
12+
13+
jobs:
14+
build:
15+
16+
runs-on: windows-latest
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v2
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Set up JDK
25+
uses: actions/setup-java@v3
26+
with:
27+
distribution: 'zulu'
28+
java-version: 17
29+
30+
- name: Set up MSYS2
31+
uses: msys2/setup-msys2@v2
32+
with:
33+
msystem: MINGW64
34+
update: true
35+
install: mingw-w64-x86_64-gtk4
36+
37+
- name: Generate source code
38+
run: ./gradlew generate
39+
40+
- name: Build library
41+
shell: msys2 {0}
42+
run: ./gradlew build
43+
44+
- name: Upload generator test reports
45+
if: always()
46+
uses: actions/upload-artifact@v4
47+
with:
48+
name: generator-reports
49+
path: |
50+
generator/build/reports/*
51+
generator/build/*.out
52+
53+
- name: Upload library test reports
54+
if: always()
55+
uses: actions/upload-artifact@v4
56+
with:
57+
name: library-reports
58+
path: |
59+
java-gtk/build/reports/*
60+
**/*.log

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
# Release (0.5.0)
1+
# 0.6.0
2+
3+
- Generator: Add markdown summary logs
4+
- Generator: Add gstreamer support
5+
- Generator: Update Kotlin to 2.1.10
6+
- Generator: Update gir files (sync with debian testing)
7+
- Library: Add PropertyHolder to accesss GObject properties
8+
- Library: Update findbugs to spotbugs-annotations:4.9.3
9+
- Library: Update jna to 5.17.0
10+
- CI: Update gradle to version 8.13
11+
- CI: Update release plugin to version 1.18.18
12+
- CI: Update JUnit to 5.12.1
13+
14+
# 0.5.0
215

316
- Add `shell.nix` as documentation
417
- Support JDK21

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021, 2022 Lukas Bai
3+
Copyright (c) 2021 - 2025 Lukas Bai
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
[![Build inside container](https://github.com/bailuk/java-gtk/actions/workflows/build-on-debian.yml/badge.svg)](https://github.com/bailuk/java-gtk/actions/workflows/build-on-debian.yml)
2-
[![Build inside container](https://github.com/bailuk/java-gtk/actions/workflows/build-on-fedora.yml/badge.svg)](https://github.com/bailuk/java-gtk/actions/workflows/build-on-fedora.yml)
1+
[![Build on Debian](https://github.com/bailuk/java-gtk/actions/workflows/build-on-debian.yml/badge.svg)](https://github.com/bailuk/java-gtk/actions/workflows/build-on-debian.yml)
2+
[![Build on Fedora](https://github.com/bailuk/java-gtk/actions/workflows/build-on-fedora.yml/badge.svg)](https://github.com/bailuk/java-gtk/actions/workflows/build-on-fedora.yml)
3+
[![Build on Ubuntu](https://github.com/bailuk/java-gtk/actions/workflows/build-on-ubuntu.yml/badge.svg)](https://github.com/bailuk/java-gtk/actions/workflows/build-on-ubuntu.yml)
4+
[![Build on Windows](https://github.com/bailuk/java-gtk/actions/workflows/build-on-windows.yml/badge.svg)](https://github.com/bailuk/java-gtk/actions/workflows/build-on-windows.yml)
35
[![JitPack](https://jitpack.io/v/bailuk/java-gtk.svg)](https://jitpack.io/#bailuk/java-gtk)
46

57
# Java-GTK

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
* ./gradlew cV
77
*
88
*/
9-
id ("pl.allegro.tech.build.axion-release") version "1.15.0"
9+
id ("pl.allegro.tech.build.axion-release") version "1.18.18"
1010
}
1111

1212
project.version = scmVersion.version

0 commit comments

Comments
 (0)