mirror of https://github.com/androidx/media
Gradle cleanup #3
Tweak the way directories are passed PiperOrigin-RevId: 374912886
This commit is contained in:
parent
2c2197d12c
commit
8c9c0f8d3f
|
@ -15,6 +15,7 @@ def rootDir = file(gradle.ext.exoplayerRoot)
|
||||||
if (!gradle.ext.has('exoplayerSettingsDir')) {
|
if (!gradle.ext.has('exoplayerSettingsDir')) {
|
||||||
gradle.ext.exoplayerSettingsDir = rootDir.getCanonicalPath()
|
gradle.ext.exoplayerSettingsDir = rootDir.getCanonicalPath()
|
||||||
}
|
}
|
||||||
|
|
||||||
def modulePrefix = ':'
|
def modulePrefix = ':'
|
||||||
if (gradle.ext.has('exoplayerModulePrefix')) {
|
if (gradle.ext.has('exoplayerModulePrefix')) {
|
||||||
modulePrefix += gradle.ext.exoplayerModulePrefix
|
modulePrefix += gradle.ext.exoplayerModulePrefix
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
gradle.ext.exoplayerRoot = settingsDir
|
gradle.ext.exoplayerRoot = rootDir
|
||||||
|
gradle.ext.exoplayerModulePrefix = ''
|
||||||
|
|
||||||
def modulePrefix = ':'
|
def modulePrefix = ':'
|
||||||
if (gradle.ext.has('exoplayerModulePrefix')) {
|
if (gradle.ext.has('exoplayerModulePrefix')) {
|
||||||
|
|
Loading…
Reference in New Issue