ReadyTalk / avian

[INACTIVE] Avian is a lightweight virtual machine and class library designed to provide a useful subset of Java's features, suitable for building self-contained applications.
https://readytalk.github.io/avian/
Other
1.22k stars 173 forks source link

Gradle artifact update #331

Closed joshuawarner32 closed 10 years ago

joshuawarner32 commented 10 years ago

The new artifact organization (e.g.):

Note that the tools- only depends on the config you're building ON, not the one you're targeting. BinaryToObject supports this mode of operation, and by default can generate objects for any target config. I'd like to eventually do the same with bootimage-generator.

Also note that all the modules have "-avian" in the name. This is so we can eventually publish openjdk and android artifacts, and keep the naming consistent.

dicej commented 10 years ago

Looks fine to me. Any comments, @sgoings?

joshuawarner32 commented 10 years ago

Actually, hold up. The 'macosx' platform is causing problems on mac:

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/jwarner/src/github.com/joshuawarner32/avian/build.gradle' line: 53

* What went wrong:
A problem occurred configuring root project 'avian'.
> Cannot convert the provided notation to an object of type OperatingSystem: macosx.
  The following types/formats are supported:
    - Instances of OperatingSystem.
    - One of the following values: 'windows', 'osx', 'mac os x', 'linux', 'solaris', 'sunos'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 0.973 secs

Any preferences, @sgoings?

joshuawarner32 commented 10 years ago

I pushed a fix; I implemented a custom SupportedOS extends OperatingSystem class. It's not great, but it fixes the problem for now. I'm happy to hear any other solutions.

sgoings commented 10 years ago

Seems like a good forward step. It's a bit messy, but that's to be expected for a complex project. :smile: