Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8c9c0f8d
authored
May 20, 2021
by
olly
Committed by
Oliver Woodman
May 21, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Gradle cleanup #3
Tweak the way directories are passed PiperOrigin-RevId: 374912886
parent
2c2197d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
core_settings.gradle
settings.gradle
core_settings.gradle
View file @
8c9c0f8d
...
@@ -15,6 +15,7 @@ def rootDir = file(gradle.ext.exoplayerRoot)
...
@@ -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
...
...
settings.gradle
View file @
8c9c0f8d
...
@@ -11,7 +11,8 @@
...
@@ -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'
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment