Skip to content

Commit

Permalink
Merge pull request #107 from kaleidot725/feature/delete_jbr
Browse files Browse the repository at this point in the history
Feature/delete jbr
  • Loading branch information
kaleidot725 authored Dec 28, 2024
2 parents be95ad5 + fc733fc commit abbdcff
Show file tree
Hide file tree
Showing 35 changed files with 169 additions and 414 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/build_desktop.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/build_macos_binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build & Ship

on:
workflow_dispatch:

jobs:
desktop-build:
runs-on: macos-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '17'

- name: Build exe app
run: |
.\gradlew packageReleaseExe
- name: Archive Artifacts Release
uses: actions/upload-artifact@v4
with:
name: Windows Release
if-no-files-found: ignore
path: build/compose/binaries/main-release/dmg
30 changes: 30 additions & 0 deletions .github/workflows/build_windows_binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build & Ship

on:
workflow_dispatch:

jobs:
desktop-build:
runs-on: windows-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: '17'

- name: Build exe app
run: |
.\gradlew packageUberJarForCurrentOS
.\gradlew createDistributable
.\gradlew packageExe
.\gradlew packageReleaseExe
- name: Archive Artifacts Release
uses: actions/upload-artifact@v4
with:
name: Windows Release
if-no-files-found: ignore
path: build/compose/binaries/main-release/exe
8 changes: 8 additions & 0 deletions .idea/artifacts/adbpad_jvm_1_3_0.xml

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

17 changes: 7 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

group = "jp.kaleidot725"
version = "1.2.0"
version = "1.3.0"

repositories {
mavenCentral()
Expand All @@ -21,11 +21,6 @@ repositories {
}

kotlin {
jvmToolchain {
vendor = JvmVendorSpec.JETBRAINS
languageVersion = JavaLanguageVersion.of(17)
}

jvm {
}
sourceSets {
Expand All @@ -39,13 +34,10 @@ kotlin {
implementation(libs.kotlinx.coroutines.swing)
implementation(libs.kotlin.serialization)
implementation(libs.koin)
// implementation(libs.jSystemThemeDetectorVer.get())
implementation("org.jetbrains.jewel:jewel-int-ui-standalone-241:0.26.2")
implementation("org.jetbrains.jewel:jewel-int-ui-decorated-window-241:0.26.2")
implementation(compose.desktop.currentOs) { exclude(group = "org.jetbrains.compose.material") }
implementation(libs.ktor.core)
implementation(libs.ktor.client.okhttp)

implementation(libs.jSystemThemeDetectorVer)
}
}
val jvmTest by getting {
Expand All @@ -62,6 +54,7 @@ compose.desktop {
buildTypes.release {
proguard.isEnabled = false
}

nativeDistributions {
packageName = "AdbPad"
modules("jdk.management")
Expand All @@ -74,6 +67,10 @@ compose.desktop {
org.jetbrains.compose.desktop.application.dsl.TargetFormat.Exe
)

jvmArgs(
"-Dapple.awt.application.appearance=NSAppearanceNameDarkAqua"
)

macOS {
bundleID = "jp.kaleidot725.adbpad"
iconFile.set(project.file("icon.icns"))
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
kotlin="2.0.21"
kotlin_coroutines="1.9.0"
kotlin_serialization="1.7.3"
compose="1.7.0"
compose="1.7.3"
ktlint_plugin="12.1.1"
adam="0.5.8"
junit="5.11.3"
Expand Down
Loading

0 comments on commit abbdcff

Please sign in to comment.