Skip to content

Conversation

@PokeMMO
Copy link

@PokeMMO PokeMMO commented Mar 14, 2022

This should allow building an alternative configuration other than the default runtimeClasspath. This can be used to build a more finely controlled classpath, including prebuilt jars while keeping the quality of life of the gradle plugin.

configurations { custom }

dependencies {
    custom "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
    custom "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
    custom files('local_jar.jar')
}

robovm {
    configurationName custom
    skipDefaultClasspathEntries true
}

This PR is untested, but I believe it should compile/function as intended.

@dkimitsa
Copy link
Contributor

hi, thank you for contribution.
Can't all this be done by Gradle directly?
The only specific thing is robovm.skipDefaultClasspathEntries but I doubt
it is needed by most of community (actually these folders were added by community to workaround all kind of issues).
Second moment -- how it is going to play with Idea plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants