mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			53 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			Groovy
		
	
	
	
	
	
| apply plugin: 'com.android.application'
 | |
| apply from: 'quality.gradle'
 | |
| 
 | |
| dependencies {
 | |
|     compile ('com.github.nicolas-raoul:Quadtree:211b6fe59ac48f') {
 | |
|         exclude module: 'junit'
 | |
|     }
 | |
|     compile 'fr.avianey.com.viewpagerindicator:library:2.4.1.1@aar'
 | |
|     compile 'in.yuvi:http.fluent:1.3'
 | |
|     compile 'com.android.volley:volley:1.0.0'
 | |
|     compile 'com.nostra13.universalimageloader:universal-image-loader:1.8.4'
 | |
|     compile 'ch.acra:acra:4.7.0'
 | |
|     compile 'org.mediawiki:api:1.3'
 | |
|     compile 'commons-codec:commons-codec:1.10'
 | |
|     compile 'com.android.support:support-v4:25.0.0'
 | |
|     compile 'com.android.support:appcompat-v7:25.0.0'
 | |
|     compile 'com.android.support:design:25.0.0'
 | |
| 
 | |
|     testCompile 'junit:junit:4.12'
 | |
| 
 | |
|     //noinspection GradleDependency - old version has required feature
 | |
|     compile 'com.google.code.gson:gson:1.4'
 | |
| }
 | |
| 
 | |
| android {
 | |
|     compileSdkVersion 23
 | |
|     buildToolsVersion '25'
 | |
| 
 | |
|     useLibrary  'org.apache.http.legacy'
 | |
| 
 | |
|     defaultConfig {
 | |
|         applicationId "fr.free.nrw.commons"
 | |
|         minSdkVersion 15
 | |
|         targetSdkVersion 23
 | |
| 
 | |
|         ndk {
 | |
|             moduleName "libtranscode"
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     buildTypes {
 | |
|         release {
 | |
|             minifyEnabled true // See https://stackoverflow.com/questions/40232404/google-play-apk-and-android-studio-apk-usb-debug-behaving-differently and try reverting if the proguard.cfg modification is enough.
 | |
|             proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     lintOptions {
 | |
|         disable 'MissingTranslation'
 | |
|         disable 'ExtraTranslation'
 | |
|         abortOnError false
 | |
|     }
 | |
| }
 | 
