{"id":19348027,"url":"https://github.com/korlibs/docker-wine-openjdk-gradle-kotlin-native","last_synced_at":"2025-09-14T20:16:34.697Z","repository":{"id":84109941,"uuid":"147130816","full_name":"korlibs/docker-wine-openjdk-gradle-kotlin-native","owner":"korlibs","description":"Allows to compile Kotlin/Native projects using gradle, openjdk with wine","archived":false,"fork":false,"pushed_at":"2019-11-25T14:49:36.000Z","size":175,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T08:51:13.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/soywiz/kotlin-native-win/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/korlibs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-02T23:57:51.000Z","updated_at":"2024-04-07T07:05:52.000Z","dependencies_parsed_at":"2023-03-05T17:00:46.091Z","dependency_job_id":null,"html_url":"https://github.com/korlibs/docker-wine-openjdk-gradle-kotlin-native","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korlibs%2Fdocker-wine-openjdk-gradle-kotlin-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korlibs%2Fdocker-wine-openjdk-gradle-kotlin-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korlibs%2Fdocker-wine-openjdk-gradle-kotlin-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/korlibs%2Fdocker-wine-openjdk-gradle-kotlin-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/korlibs","download_url":"https://codeload.github.com/korlibs/docker-wine-openjdk-gradle-kotlin-native/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250379097,"owners_count":21420826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T04:18:48.411Z","updated_at":"2025-04-23T05:32:53.765Z","avatar_url":"https://github.com/korlibs.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## docker-wine-openjdk-gradle-kotlin-native\n\nThis container includes gradle, openjdk and wine in a single image and provides some useful things\nto compile windows and linux libraries and executables of Kotlin/Native projects.\n\nThis docker is built automatically here: \u003chttps://hub.docker.com/r/soywiz/kotlin-native-win/\u003e\n\nRepo of the project: \u003chttps://github.com/soywiz/docker-wine-openjdk-gradle-kotlin-native\u003e\n\n## Build and run HelloWorld\n\n```bash\n#!/bin/bash\npushd hello-world\n\necho Building java, macos, windows, linux...\n./gradlew fatJar\n./gradlew linkTestDebugExecutableMacosX64\n./gradlew_win linkTestDebugExecutableMingwX64\n./gradlew_linux linkTestDebugExecutableLinuxX64\n\necho Running macos, windows, linux...\njava -jar build/libs/HelloWorld-all.jar\n./build/bin/macosX64/main/debug/executable/HelloWorld.kexe\n./win build/bin/mingwX64/main/debug/executable/HelloWorld.exe\n./linux build/bin/linuxX64/main/debug/executable/HelloWorld.kexe\n\npopd\n```\n\n## [`gradlew_win`](https://github.com/soywiz/docker-wine-openjdk-gradle-kotlin-native/blob/master/gradlew_win)\n\n[`gradlew_win`](https://github.com/soywiz/docker-wine-openjdk-gradle-kotlin-native/blob/master/gradlew_win) \nis a small script that you can copy to your project where the `gradlew.bat` file is, and it will launch\ngradle for windows in the container.\n\nYou can try to change the `SUFFIX=-win` to `SUFFIX=` to your host folders to reuse things,\nbut be careful since that might screw things (untested).\n\n## [`gradlew_linux`](https://github.com/soywiz/docker-wine-openjdk-gradle-kotlin-native/blob/master/gradlew_linux)\n\n[`gradlew_linux`](https://github.com/soywiz/docker-wine-openjdk-gradle-kotlin-native/blob/master/gradlew_linux) \nis a small script that you can copy to your project where the `gradlew` file is, and it will launch\ngradle for linux in the container.\n\n## [`./win`](https://github.com/soywiz/docker-wine-openjdk-gradle-kotlin-native/blob/master/win)\n\n[`./win`](https://github.com/soywiz/docker-wine-openjdk-gradle-kotlin-native/blob/master/win) \nis a small script that you to run a headless wine inside the container to test cli windows application\nyou can place it along the gradlew_win script to run your generated programs without having to install\nwine in your host.\n\n## [`./linux`](https://github.com/soywiz/docker-wine-openjdk-gradle-kotlin-native/blob/master/linux)\n\n[`./linux`](https://github.com/soywiz/docker-wine-openjdk-gradle-kotlin-native/blob/master/linux) \nis a small script that you to run a linux command you can place it along the gradlew_linux script to run\nyour generated linux programs.\n\n## `./gradlew_wine`\n\nIf you have WINE installed, and the oraclejdk or openjdk installed, you can use `gradlew_wine`. It will run faster.\n\nYou can also place symbolik links from your `.wine` prefix `.gradle`, `.m2`, `.konan` to your user's host folder\nto be able to reuse artifacts.\n\nDelete or remoname `$HOME/.wine/drive_c/users/$USERNAME/.gradle`m `.m2` and `.konan` folders before doing\nthe symbolic linking in the case they exists already.\n\n## `gradlew_copy_gradle_properties`\n\nIf you want to copy your system's gradle.properties to be used inside linux and windows gradlew, you can call this bash script.\nIt helps for example if you have properties for publishing/deploying.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkorlibs%2Fdocker-wine-openjdk-gradle-kotlin-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkorlibs%2Fdocker-wine-openjdk-gradle-kotlin-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkorlibs%2Fdocker-wine-openjdk-gradle-kotlin-native/lists"}