jamfish/settings.gradle
2021-08-07 12:55:39 +09:00

12 lines
462 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')
}
}
}