the gradle support multi type dependency
for exampe:
implementation 'com.google.protobuf:protobuf-lite:3.0.1
compileOnly project(":flutter")
api files('src/main/libs/xxxxx.jar')
So when i print the dependency object in the gradle script, I get the class of the dependency.
DefaultSelfResolvingDependency for the files dependency
DefaultProjectDependency for the project dependency
DefaultExternalModuleDependency for the dependency create by the string notation
So. is there any api to get the dependency type ?
is the local project ? is the local jar ? or others ?