Consolidate version codes in root gradle file

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=153453768
This commit is contained in:
olly 2017-04-18 05:56:43 -07:00 committed by Oliver Woodman
parent 42e4100c05
commit 8be85d4d2f
9 changed files with 31 additions and 29 deletions

View File

@ -41,6 +41,10 @@ allprojects {
compileSdkVersion = 25 compileSdkVersion = 25
targetSdkVersion = 25 targetSdkVersion = 25
buildToolsVersion = '25' buildToolsVersion = '25'
testSupportLibraryVersion = '0.5'
supportLibraryVersion = '25.3.1'
dexmakerVersion = '1.2'
mockitoVersion = '1.9.5'
releaseRepoName = getBintrayRepo() releaseRepoName = getBintrayRepo()
releaseUserOrg = 'google' releaseUserOrg = 'google'
releaseGroupId = 'com.google.android.exoplayer' releaseGroupId = 'com.google.android.exoplayer'

View File

@ -33,11 +33,11 @@ dependencies {
compile files('libs/cronet_api.jar') compile files('libs/cronet_api.jar')
compile files('libs/cronet_impl_common_java.jar') compile files('libs/cronet_impl_common_java.jar')
compile files('libs/cronet_impl_native_java.jar') compile files('libs/cronet_impl_native_java.jar')
androidTestCompile 'com.google.dexmaker:dexmaker:1.2'
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2'
androidTestCompile 'org.mockito:mockito-core:1.9.5'
androidTestCompile project(':library') androidTestCompile project(':library')
androidTestCompile 'com.android.support.test:runner:0.5' androidTestCompile 'com.google.dexmaker:dexmaker:' + dexmakerVersion
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:' + dexmakerVersion
androidTestCompile 'org.mockito:mockito-core:' + mockitoVersion
androidTestCompile 'com.android.support.test:runner:' + testSupportLibraryVersion
} }
ext { ext {

View File

@ -11,8 +11,6 @@
// 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.
import com.android.builder.core.BuilderConstants
apply plugin: 'com.android.library' apply plugin: 'com.android.library'
android { android {

View File

@ -36,10 +36,10 @@ android {
} }
dependencies { dependencies {
compile 'com.android.support:support-annotations:25.2.0' compile 'com.android.support:support-annotations:' + supportLibraryVersion
androidTestCompile 'com.google.dexmaker:dexmaker:1.2' androidTestCompile 'com.google.dexmaker:dexmaker:' + dexmakerVersion
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2' androidTestCompile 'com.google.dexmaker:dexmaker-mockito:' + dexmakerVersion
androidTestCompile 'org.mockito:mockito-core:1.9.5' androidTestCompile 'org.mockito:mockito-core:' + mockitoVersion
} }
ext { ext {

View File

@ -37,11 +37,11 @@ android {
dependencies { dependencies {
compile project(':library-core') compile project(':library-core')
compile 'com.android.support:support-annotations:25.2.0' compile 'com.android.support:support-annotations:' + supportLibraryVersion
compile 'com.android.support:support-core-utils:25.2.0' compile 'com.android.support:support-core-utils:' + supportLibraryVersion
androidTestCompile 'com.google.dexmaker:dexmaker:1.2' androidTestCompile 'com.google.dexmaker:dexmaker:' + dexmakerVersion
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2' androidTestCompile 'com.google.dexmaker:dexmaker-mockito:' + dexmakerVersion
androidTestCompile 'org.mockito:mockito-core:1.9.5' androidTestCompile 'org.mockito:mockito-core:' + mockitoVersion
} }
ext { ext {

View File

@ -31,10 +31,10 @@ android {
dependencies { dependencies {
compile project(':library-core') compile project(':library-core')
compile 'com.android.support:support-annotations:25.2.0' compile 'com.android.support:support-annotations:' + supportLibraryVersion
androidTestCompile 'com.google.dexmaker:dexmaker:1.2' androidTestCompile 'com.google.dexmaker:dexmaker:' + dexmakerVersion
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2' androidTestCompile 'com.google.dexmaker:dexmaker-mockito:' + dexmakerVersion
androidTestCompile 'org.mockito:mockito-core:1.9.5' androidTestCompile 'org.mockito:mockito-core:' + mockitoVersion
} }
ext { ext {

View File

@ -37,10 +37,10 @@ android {
dependencies { dependencies {
compile project(':library-core') compile project(':library-core')
compile 'com.android.support:support-annotations:25.2.0' compile 'com.android.support:support-annotations:' + supportLibraryVersion
androidTestCompile 'com.google.dexmaker:dexmaker:1.2' androidTestCompile 'com.google.dexmaker:dexmaker:' + dexmakerVersion
androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2' androidTestCompile 'com.google.dexmaker:dexmaker-mockito:' + dexmakerVersion
androidTestCompile 'org.mockito:mockito-core:1.9.5' androidTestCompile 'org.mockito:mockito-core:' + mockitoVersion
} }
ext { ext {

View File

@ -31,7 +31,7 @@ android {
dependencies { dependencies {
compile project(':library-core') compile project(':library-core')
compile 'com.android.support:support-annotations:25.2.0' compile 'com.android.support:support-annotations:' + supportLibraryVersion
} }
ext { ext {

View File

@ -25,5 +25,5 @@ android {
dependencies { dependencies {
compile project(':library') compile project(':library')
compile 'org.mockito:mockito-core:1.9.5' compile 'org.mockito:mockito-core:' + mockitoVersion
} }