Docs
Blog
Newsletter
DPE University
Develocity
Gradle Forums
compileOnly dependencies are not available in tests
Help/Discuss
btpka3
(btpka3)
May 5, 2016, 3:10am
3
How to set ‘javax.servlet:javax.servlet-api:3.1.0’ in compileOnly and testCompileOnly ?
show post in topic
Related topics
Topic
Replies
Views
Activity
Tests execution failed after upgrading from gradle -1.3 to 1.6 or 1.7. Error message java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/servlet/ServletInputStream
Old Forum Archive
5
2932
April 12, 2013
Dependency missing testCompile when already in compile with other classifier
Bugs
2
3368
November 5, 2015
TestKit somehow excludes compileOnly dependencies
Bugs
not-a-bug
6
2244
October 5, 2016
Dependencies with same name and different qualifier
Old Forum Archive
1
2272
October 30, 2014
Provided VS CompileOnly
Help/Discuss
buildship
1
9104
September 17, 2018