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

Could not find property ‘classesDir’ on source set main #1

Open
ramAdam opened this issue Mar 5, 2019 · 0 comments
Open

Could not find property ‘classesDir’ on source set main #1

ramAdam opened this issue Mar 5, 2019 · 0 comments

Comments

@ramAdam
Copy link

ramAdam commented Mar 5, 2019

I am using Gradle 5.1.1, in case you get "classdir" error, see fix 1 below

Fix #1:
desktop build.gradle:
line 27,
change this:
from files(sourceSets.main.output.classesDir)
to:
from files(sourceSets.main.output.classesDirs)

Fix #2:
uncomment line 60 in main build.gradle
compile "com.underwaterapps.overlap2druntime:overlap2d-runtime-libgdx:0.1.1-SNAPSHOT"

and change it to
compile "com.underwaterapps.overlap2druntime:overlap2d-runtime-libgdx:0.1.2-SNAPSHOT"

run:
gradle desktop:run

@ramAdam ramAdam changed the title project wont compile right off the bat, just in case someone wants to run it. Follow the instructions below Could not find property ‘classesDir’ on source set main Mar 5, 2019
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

No branches or pull requests

1 participant