Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to configure classpathEntries from gradle. #634

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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