Skip to content

Commit

Permalink
feat: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
kaleidot725 committed Nov 3, 2024
1 parent 7eb8266 commit 970c962
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.plugin.KotlinExecution

plugins {
alias(libs.plugins.multiplatform)
alias(libs.plugins.compose)
Expand All @@ -7,7 +9,7 @@ plugins {
}

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

repositories {
mavenCentral()
Expand All @@ -23,11 +25,11 @@ kotlin {
languageVersion = JavaLanguageVersion.of(17)
}

jvm { }
jvm {
}
sourceSets {
val jvmMain by getting {
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(compose.desktop.currentOs)
implementation(compose.material)
implementation(compose.materialIconsExtended)
Expand Down Expand Up @@ -60,6 +62,8 @@ compose.desktop {
modules("jdk.management")
modules("jdk.unsupported")

args.addAll(listOf("-Djava.security.manager", "-Djava.security.policy=./java.policy"))

targetFormats(
org.jetbrains.compose.desktop.application.dsl.TargetFormat.Dmg,
org.jetbrains.compose.desktop.application.dsl.TargetFormat.Msi,
Expand Down
3 changes: 3 additions & 0 deletions java.policy
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
grant {
permission java.net.SocketPermission "*", "connect,resolve";
}

0 comments on commit 970c962

Please sign in to comment.