0

I checked the similar question (similar question, sample gradle build file ). but that solution did not worked for me. I want to run junits using gradle file, for android eclipse project. Structure of Source project is below:

Application:
   -src
   -test

Structure of Test project:

TestProject:
- test (linked to test folder in source project)

Gradle file of source project is:

dependencies{
   compile project (':lib_project')
}
android{
   sourceSets{
       main{
       }
       test{
           java{
               srcDirs = ['test/com/project/testsuites']                    
           }
       }
       androidTest.setRoot('tests')
   }
} 

Please suggest the updatations/changes need to implemented in gradle file.

Community
  • 1
  • 1
user2275344
  • 39
  • 3
  • 12

0 Answers0