jamfish/settings.gradle
2020-05-01 15:27:55 +09:00

12 lines
No EOL
461 B
Groovy

include ':app'
def enableDependencySubstitution = properties.get('enable.dependency.substitution', 'true').equalsIgnoreCase('true')
def apiClientLocation = '../jellyfin-apiclient-java'
if (new File(apiClientLocation).exists() && enableDependencySubstitution) {
includeBuild(apiClientLocation) {
dependencySubstitution {
substitute module('com.github.jellyfin.jellyfin-apiclient-java:android') with project(':android')
}
}
}