65 Commits

Author SHA1 Message Date
tonihei
7ac024afba Update Gradle plugins.
PiperOrigin-RevId: 309231983
2020-05-01 19:48:32 +01:00
olly
c32ad60e0b Fix diverged root build.gradle files
PiperOrigin-RevId: 274568961
2019-10-14 14:48:29 +01:00
olly
818ef62fb0 Remove obsolete workaround
PiperOrigin-RevId: 261340526
2019-08-02 18:54:50 +01:00
Oliver Woodman
3ac8b6acee Merge pull request #5732 from ToxicBakery:feature/add-license-to-pom
PiperOrigin-RevId: 257138448
2019-07-09 08:50:01 +01:00
tonihei
84e03aea70 Update gradle plugin (part 2).
PiperOrigin-RevId: 245218900
2019-04-26 18:32:23 +01:00
toxicbakery
70530cd1e6 #5731 Add license information to generated POM files 2019-04-08 13:26:05 -04:00
olly
0183678747 Suppress obsolete API warning
We'll toggle the publish flag only when doing releases.

Issue: #5477
PiperOrigin-RevId: 233392733
2019-02-18 15:58:00 +00:00
olly
8401097ead Upgrade gradle plugin and friends
PiperOrigin-RevId: 233390513
2019-02-18 15:57:55 +00:00
tonihei
2d63be0962 Swap google() and jcenter() in docs and gradle config.
This seems to be more stable in case Bintray has issues updating the ExoPlayer
sources.

Issue:#4997

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=218327350
2018-10-24 18:36:18 +01:00
olly
bac597cb07 Update dependencies + misc fixes
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=208195761
2018-08-13 14:02:51 +01:00
olly
e716e315ff Update build tools for Android Studio 3.1
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=190896757
2018-03-29 13:49:03 +01:00
andrewlewis
bb72d9eb6a Upgrade bintray
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=189188071
2018-03-27 23:57:29 +01:00
andrewlewis
234d611175 Automated g4 rollback of changelist 189153913.
*** Reason for rollback ***

This is breaking gradle sync with an error "Error:Cannot create variant 'android-lint' after configuration ':exo-library-core:debugRuntimeElements' has been resolved".

*** Original change description ***

Upgrade bintray-release and gradle versions

***

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=189171139
2018-03-27 23:54:45 +01:00
olly
405d39b518 Upgrade bintray-release and gradle versions
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=189153913
2018-03-27 23:47:32 +01:00
olly
1442c047cf Update gradle wrapper
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=176693785
2017-11-23 15:06:12 +00:00
tonihei
cd07ff764e Update gradle tools to 3.0.0 and support library to 27.0.0.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=173645345
2017-10-27 16:25:35 +01:00
olly
a11c704d27 Upgrade dependency versions
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=171819854
2017-10-13 19:47:25 +01:00
tonihei
f73a5bf692 Update gradle version to 3.0.0-beta5.
Android Studio refuses to build with the current beta4 version.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=171129696
2017-10-11 12:20:06 +01:00
olly
75d5adce6f Update dependency versions
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=168194589
2017-09-15 23:23:16 +01:00
olly
a90cef0cb5 Upgrade gradle plugin / wrapper
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=167579719
2017-09-05 16:47:38 +01:00
olly
f0bd40a5b6 Use flavorDimensions for external demo app
- This is soon becoming mandatory.
- It also looks like future versions of com.android.tools.build
  are being distributed via Google's Maven repository.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=166058299
2017-08-22 16:26:03 +01:00
olly
ecc8f6c4fa Upgrade dependencies
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=161648060
2017-07-12 18:23:11 +01:00
olly
2a8eb5a2a1 Make it easier to use ExoPlayer modules in other projects
It's currently difficult to use ExoPlayer modules in other gradle
projects because they rely on constants and dependencies defined
in our own top level gradle file. This change moves the constants
into a separate file referenced directly from each module. It also
removes the need for the top level gradle file to declare a
dependency on com.novoda:bintray-release. This is now only needed
if "exoplayerPublishEnabled = true" is specified.

Issue: #2851
Issue: #2974

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=160272072
2017-06-28 22:26:05 +01:00
olly
2439c582d4 Bump version + update release notes
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=158153988
2017-06-06 18:13:02 +01:00
olly
3a448f3a0e Bump version and update release notes
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=156872383
2017-05-23 17:50:46 +01:00
olly
3b1e4b5ca9 Update gradle + bintray-release
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=156860658
2017-05-23 17:48:40 +01:00
olly
b88deaa1ca Bump version and update release notes
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=154198359
2017-04-26 15:15:32 +01:00
Oliver Woodman
860eb26301 Misc cleanup for merged pull requests 2017-04-21 18:09:01 +01:00
Damien Merenne
41f4f24f53 Allow out of tree builds.
Before modularisation of the code, it was possible to do an out of tree build
giving an -PbuildDir=someDir argument to gradle. With the modularisation, it's
broken as using -PbuildDir=someDir will force the same directory for each
projects, which breaks the gradle build system.

This commit adds a new externalBuildDir project property to allow out of tree
builds again. When set, it updates the buildDir property for each project to
point to ${externalBuildDir}/${project.name}. That way, the build artifacts are
written in the out of tree directory in a project specific folder.

To do an out of tree build, use

    gradle -PexternalBuildDir=someDir ...

It supports absolute and relative path. Relative path are interpreted against
the ExoPlayer root directory.
2017-04-21 11:32:00 +02:00
olly
8be85d4d2f Consolidate version codes in root gradle file
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=153453768
2017-04-18 19:42:27 +01:00
eguven
68b8a5e542 Downgrade jacoco to 0.7.4.201502262128 as a workaround for 'stuck in endless loop' issue
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=151554130
2017-03-31 19:09:01 +01:00
olly
f4c33daf77 Bump version for bugfix release
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=151028565
2017-03-23 19:15:48 +00:00
olly
382ba7ecf0 Generate combined Javadoc
Notes:
- Now only generating a single module Javadoc task for the
  release variant.
- Combined Javadoc now includes extensions. VP9 is excluded
  for now since it's failing for an unknown reason.

Issue: #2139

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150865589
2017-03-22 19:11:28 +00:00
olly
c8059e5969 Update release notes + bump versions
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150358346
2017-03-17 12:17:41 +00:00
olly
d6db5066cd Improve publishing to Bintray
- Update bintray-release version
- Publish to exoplayer-test unless -PpublicRepo=true
- Publish GVR extension
- Minimize duplication with new publish.gradle

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150185740
2017-03-15 15:54:43 +00:00
olly
204537ed40 Pre-modularization cleanup
- Use a variable for the (default) minSdkVersion. There will
  be more modules that need it, and it'll be easier to manage
  if it's in one place.

Issue: #2139

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150050663
2017-03-15 15:44:46 +00:00
olly
343a7302bd Update gradle version
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=149941369
2017-03-13 15:54:10 +00:00
twisstosin
933b7faadd Updated Gradle, Compile and Build Tools Version 2017-02-12 23:06:51 +01:00
olly
615b707b16 Bump version + update release notes
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=145994313
2017-01-30 16:31:30 +00:00
Oliver Woodman
0b141aeeee Revert "Improving handling of atoms with size less than header in FragmentedMp4Extractor."
This reverts commit 71186ef16ee2f3dc07a4f9d1d696c273b1c6ca87.
2017-01-04 22:32:28 +00:00
cblay
71186ef16e Improving handling of atoms with size less than header in FragmentedMp4Extractor.
These currently lead to cryptic ArrayIndexOutOfBoundsExceptions being thrown from System.arraycopy() so my proposal is to throw a more useful ParserException instead.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142087132
2017-01-04 22:26:58 +00:00
olly
a007d9a2e7 Bump version + update release notes
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142539314
2016-12-20 11:39:12 +00:00
olly
88d2a6a348 Bump version + update release notes
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142015031
2016-12-14 16:22:48 +00:00
olly
790e5fd2a1 Update gradle wrapper
Code coverage is disabled in V2 to workaround
https://code.google.com/p/android/issues/detail?id=226070

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137032839
2016-10-24 18:42:37 +01:00
olly
f56b05f0d7 Bump version to r2.0.4
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136697697
2016-10-20 12:20:10 +01:00
olly
cecb1f5f76 Bump version + update release notes
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136339035
2016-10-17 15:43:57 +01:00
olly
2cf339e095 Bump version to 2.0.2 + document inclusion of OkHttp extension
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135260806
2016-10-05 21:20:34 +01:00
olly
1b90b7c12c Factor out common variables for publishing
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135215320
2016-10-05 18:07:13 +01:00
olly
85d749d2d5 Change mavenCentral -> jcenter
Ref: https://blog.bintray.com/2015/02/09/android-studio-migration-from-maven-central-to-jcenter/

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135211072
2016-10-05 18:05:54 +01:00
olly
c54169c192 Move back to gradle version + plugin that doesn't hang.
New version hangs when running:
./gradlew :library:assembleAndroidTest --debug

Android Studio "strongly recommends" we upgrade to the
hanging version, but I guess we'll just have to ignore
that until the latest version works again!

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=132063280
2016-09-02 16:21:24 +01:00