Skip to content

Commit

Permalink
chang maven to google
Browse files Browse the repository at this point in the history
  • Loading branch information
vok authored and vok committed Jul 6, 2019
1 parent ed25b3f commit 8a8f215
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
11 changes: 4 additions & 7 deletions examples/basic/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,16 @@ def enableSeparateBuildPerCPUArchitecture = false
def enableProguardInReleaseBuilds = false

android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
applicationId "com.videoplayer"
minSdkVersion 16
targetSdkVersion 28
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
ndk {
Expand Down Expand Up @@ -132,11 +132,8 @@ android {

dependencies {
implementation project(':react-native-video')
// compile "com.android.support:appcompat-v7:25.2.0"
implementation "androidx.appcompat:appcompat:1.0.0"
implementation "com.facebook.react:react-native:+" // From node_modules
// implementation project(':react-native-video')
// compile project(':react-native-video-exoplayer') // uncomment to use exoplayer
}

// Run this once to be able to run the application with BUCK
Expand Down
4 changes: 1 addition & 3 deletions examples/basic/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ buildscript {
allprojects {
repositories {
mavenLocal()
maven {
url 'https://maven.google.com'
}
google()
maven {
url "https://jitpack.io"
}
Expand Down
6 changes: 0 additions & 6 deletions examples/basic/android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,4 @@ rootProject.name = 'VideoPlayer'
include ':react-native-video'
project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')

// Quick Local Development
//project(':react-native-video').projectDir = new File(rootProject.projectDir, '../../android')
//project(':react-native-video-exoplayer').projectDir = new File(rootProject.projectDir, '../../android-exoplayer')

// project(':react-native-video').projectDir = new File(rootProject.projectDir, '../../android')
// project(':react-native-video-exoplayer').projectDir = new File(rootProject.projectDir, '../../android-exoplayer')
include ':app'

0 comments on commit 8a8f215

Please sign in to comment.