Docs
Blog
Newsletter
DPE University
Develocity
Gradle Forums
Could not find property 'classesDir' on source set main
Old Forum Archive
Mads_Thiessen
(Mads Thiessen)
October 19, 2012, 6:46am
4
You could probably use
sourceSets.main.output.classesDir
instead. Works for test.
Could not get unknown property 'classesDir' for main classes of type org.gradle.api.internal.tasks.DefaultSourceSetOutput
show post in topic
Related topics
Topic
Replies
Views
Activity
Could not get unknown property 'main' for SourceSet container of type org.gradle.api.internal.tasks.DefaultSourceSetContainer
Help/Discuss
1
2317
February 10, 2023
Could not get unknown property 'classesDir'
Help/Discuss
android
1
5663
June 24, 2019
Could not get unknown property 'compileConfigurationName' for source set 'main' error whilst updating Gradle from version 6.4.1 to 7.1
Help/Discuss
1
10972
June 23, 2021
Issue in gradle build 5.6.4
Help/Discuss
5
1489
June 18, 2020
classesDirs issue in Gradle 5.1
Help/Discuss
5
335
January 17, 2024