Convert rootDir to string to fix a gradle sync issue

This commit is contained in:
Chang Xiangzhong 2020-07-04 21:24:08 +02:00
parent 391f9b923e
commit 8d8233c330

View File

@ -13,7 +13,7 @@
// limitations under the License. // limitations under the License.
def rootDir = gradle.ext.exoplayerRoot def rootDir = gradle.ext.exoplayerRoot
if (!gradle.ext.has('exoplayerSettingsDir')) { if (!gradle.ext.has('exoplayerSettingsDir')) {
gradle.ext.exoplayerSettingsDir = new File(rootDir).getCanonicalPath() gradle.ext.exoplayerSettingsDir = new File(rootDir.toString()).getCanonicalPath()
} }
def modulePrefix = ':' def modulePrefix = ':'
if (gradle.ext.has('exoplayerModulePrefix')) { if (gradle.ext.has('exoplayerModulePrefix')) {