* feat(android): add possibility do disable some of functionalities * create dump classes * remove dump files when functionalities are enabled * add docs * enable all functionalities in example * throw error when trying to use disabled functionality * update docs
		
			
				
	
	
		
			32 lines
		
	
	
		
			971 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			971 B
		
	
	
	
		
			Groovy
		
	
	
	
	
	
| // Top-level build file where you can add configuration options common to all sub-projects/modules.
 | |
| 
 | |
| buildscript {
 | |
|     ext {
 | |
|         buildToolsVersion = "34.0.0"
 | |
|         minSdkVersion = 23
 | |
|         compileSdkVersion = 34
 | |
|         targetSdkVersion = 34
 | |
|         ndkVersion = "26.1.10909125"
 | |
|         kotlinVersion = "1.9.22"
 | |
| 
 | |
|         useExoplayerIMA = System.getenv("RNV_SAMPLE_ENABLE_ADS") ?: true
 | |
|         useExoplayerRtsp = true
 | |
| 
 | |
|         // use the following to disable ExoPlayer modules - this will reduce the size of your app
 | |
|         // useExoplayerSmoothStreaming = false
 | |
|         // useExoplayerDash = false
 | |
|         // useExoplayerHls = false
 | |
|     }
 | |
|     repositories {
 | |
|         google()
 | |
|         mavenCentral()
 | |
|     }
 | |
|     dependencies {
 | |
|         classpath("com.android.tools.build:gradle")
 | |
|         classpath("com.facebook.react:react-native-gradle-plugin")
 | |
|         classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
 | |
|     }
 | |
| }
 | |
| 
 | |
| apply plugin: "com.facebook.react.rootproject"
 |