diff --git a/common_library_config.gradle b/common_library_config.gradle index 7be2290bc0..431a7ab14d 100644 --- a/common_library_config.gradle +++ b/common_library_config.gradle @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -apply from: "$gradle.ext.exoplayerRoot/constants.gradle" +apply from: "$gradle.ext.exoplayerSettingsDir/constants.gradle" apply plugin: 'com.android.library' android { diff --git a/core_settings.gradle b/core_settings.gradle index 3672b015ca..6ed89e40cb 100644 --- a/core_settings.gradle +++ b/core_settings.gradle @@ -13,7 +13,7 @@ // limitations under the License. def rootDir = gradle.ext.exoplayerRoot if (!gradle.ext.has('exoplayerSettingsDir')) { - gradle.ext.exoplayerSettingsDir = rootDir + gradle.ext.exoplayerSettingsDir = new File(rootDir).getCanonicalPath() } def modulePrefix = ':' if (gradle.ext.has('exoplayerModulePrefix')) {