Giter Club home page Giter Club logo

Comments (4)

soywiz avatar soywiz commented on June 1, 2024

Just copied it from RoboVM RT. I'm not using that RT "yet". Probably I will end just copy the stuff I need to jtransc-rt. It has tons of dependencies and too complex stuff that can be simplified.
I didn't notice that okhttp was not being used. If that's the case, could you do a PR removing it? As long as travis says it is ok, it's fine.

from jtransc.

intrigus avatar intrigus commented on June 1, 2024

I didn't check whether okhttp was being used, but I see no reason, why it should be included in a runtime.

from jtransc.

soywiz avatar soywiz commented on June 1, 2024

It is not included if not referenced. JTransc starts from your main and generate a working set based on the used and/or referenced classes, not just the whole runtime. Though right now it include all the methods/fields even when they are not used.

Right now JTransc first tries to locate the referenced class in:

  • jtransc-rt
  • jtransc-rt-full
  • jtransc-rt-core

If not found it will check in your code. So right now almost all RT classes will be used from plain JTransc -rt which do not reference okhttp at all so it won't get to the output.

from jtransc.

soywiz avatar soywiz commented on June 1, 2024

I removed some days ago jtransc-rt-full, I forked robovm as RT reference.

from jtransc.

Related Issues (20)

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.