Commit 8c9c0f8d by olly Committed by Oliver Woodman

Gradle cleanup #3

Tweak the way directories are passed

PiperOrigin-RevId: 374912886
parent 2c2197d1
Showing with 3 additions and 1 deletions
......@@ -15,6 +15,7 @@ def rootDir = file(gradle.ext.exoplayerRoot)
if (!gradle.ext.has('exoplayerSettingsDir')) {
gradle.ext.exoplayerSettingsDir = rootDir.getCanonicalPath()
}
def modulePrefix = ':'
if (gradle.ext.has('exoplayerModulePrefix')) {
modulePrefix += gradle.ext.exoplayerModulePrefix
......
......@@ -11,7 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
gradle.ext.exoplayerRoot = settingsDir
gradle.ext.exoplayerRoot = rootDir
gradle.ext.exoplayerModulePrefix = ''
def modulePrefix = ':'
if (gradle.ext.has('exoplayerModulePrefix')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment