Giter Site home page Giter Site logo

ldh-star / translator-compose-multiplatform Goto Github PK

View Code? Open in Web Editor NEW
22.0 1.0 2.0 339.07 MB

🔥🔥🔥这是一个Kotlin跨平台声明式UI前端技术开发的项目🚀,这个项目包含的目标平台是Android和Desktop。 前端页面主要是由Jetpack Compose 和 Compose for Desktop 实现。 网络请求相关模块由Ktor客户端 和 KotlinSerialize实现。 软件架构上采用 Jetpack Compose 官方推荐的MVI架构。

License: Apache License 2.0

Kotlin 100.00%
compose kotlin kotlin-multiplatform ktor ktor-client compose-desktop jetpack-android jetpack-compose android kotlin-coroutines

translator-compose-multiplatform's People

Contributors

ldh-star avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

translator-compose-multiplatform's Issues

打包Desktop release包会出问题,debug包没问题

README 提到了打包Android release的时候会出问题,我在打包Desktop release的时候也遇到了。
尝试解决了下Desktop release打包的问题。
你的 repository 应该是没有开权限,无法提 change。
所以直接把修改贴在这里,希望能有帮助。

compose.desktop {
    application {
        mainClass = "MainKt"
        nativeDistributions {
            targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
            packageName = "Translator_Multiplatform"
            packageVersion = "1.1.3"
        }
        buildTypes.release {
            proguard {
                configurationFiles.from("compose-desktop.pro")
            }
        }
    }
}

compose-desktop.pro

-dontwarn okhttp3.**
-dontwarn org.slf4j.**

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.