libgdx / gdx-pay

A libGDX cross-platform API for InApp purchasing.
Apache License 2.0
225 stars 83 forks source link

Add support for Robovm 2.x #123

Closed keesvandieren closed 7 years ago

keesvandieren commented 7 years ago

Support the open sources Robovm 2.x

Workaround with current release: exclude org.robovm dependencies, like so:

compile("com.badlogicgames.gdxpay:gdx-pay-iosrobovm-apple:${gdxPayVersion}") {
    exclude group: 'org.robovm'
}
codeulike commented 7 years ago

I'm using RoboVM 2.3.0 with GdxPay 0.10.3, seems to work ok on ios

Here's the ios bit of my build.gradle:

project(":ios") {
    apply plugin: "java"
    apply plugin: "robovm"

    dependencies {
        compile project(":core")
        compile "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
        compile "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
        compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
        compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
        compile "com.badlogicgames.gdxpay:gdx-pay-client:$gdxPayVersion"
        compile "com.badlogicgames.gdxpay:gdx-pay-iosrobovm-apple:$gdxPayVersion"
    }
}
keesvandieren commented 7 years ago

Just released 0.11.0 with Robovm 2.3.0