Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattwelke/java-gem-test
https://github.com/mattwelke/java-gem-test
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mattwelke/java-gem-test
- Owner: mattwelke
- Created: 2021-11-28T23:32:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-29T01:08:54.000Z (about 3 years ago)
- Last Synced: 2024-10-14T02:23:55.719Z (3 months ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# java-gem-test
Testing creating a java platform gem.
Gem name: java_gem_test_0902376782
Manual build and install working. Uses scripts in `scripts` dir followed by `gem install`.
## example
Script:
```ruby
require 'java_gem_test_0902376782'puts 'Ruby:'
JavaGemTest::HolaRuby.hi
putsputs 'Ruby wrapper:'
JavaGemTest::HolaRubyWrapper.hi
putsputs 'Java:'
com.mattwelke.javagemtest.Hola.hi
```Output:
```
Ruby:
Hello from Ruby!Ruby wrapper:
Hello from Java!
(through Ruby wrapper)Java:
Hello from Java!
```