Skip to content

Commit

Permalink
config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Coding-Meet committed Nov 25, 2023
1 parent c728ae0 commit b1efcda
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .idea/gradle.xml

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

3 changes: 2 additions & 1 deletion .idea/misc.xml

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

24 changes: 20 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,31 @@ dependencies {
implementation("org.json:json:20210307")

}

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
compose.desktop {
application {
mainClass = "MainKt"

nativeDistributions {
macOS {
iconFile.set(project.file("translate.icns"))
}
windows {
iconFile.set(project.file("translate.ico"))
}
linux {
iconFile.set(project.file("translate.png"))
}
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
packageName = "com.coding.meet.translate"
packageVersion = "1.0.0"
description = "String Translator Desktop App"
vendor = "Meet"
version = "1.0.0"
licenseFile.set(project.file("LICENSE"))
outputBaseDir.set(project.rootDir.resolve("customOutputDir"))
}
}
}
}
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
kotlin.code.style=official

zipStoreBase=GRADLE_USER_HOME
#Gradle
org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx2048M"

Expand Down
Binary file added translate.icns
Binary file not shown.
Binary file added translate.ico
Binary file not shown.
Binary file added translate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b1efcda

Please sign in to comment.