mirror of
				https://framagit.org/tom79/fedilab-tube
				synced 2025-06-05 21:09:11 +02:00 
			
		
		
		
	change build.gradle
This commit is contained in:
		| @@ -7,7 +7,7 @@ android { | ||||
|     buildToolsVersion "30.0.2" | ||||
|  | ||||
|     defaultConfig { | ||||
|         applicationId "app.fedilab.fedilabtube" | ||||
|  | ||||
|         minSdkVersion 21 | ||||
|         targetSdkVersion 30 | ||||
|         versionCode 6 | ||||
| @@ -18,6 +18,7 @@ android { | ||||
|     dexOptions { | ||||
|         javaMaxHeapSize "4g" | ||||
|     } | ||||
|     flavorDimensions "default" | ||||
|     buildTypes { | ||||
|         release { | ||||
|             minifyEnabled false | ||||
| @@ -28,6 +29,26 @@ android { | ||||
|         sourceCompatibility JavaVersion.VERSION_1_8 | ||||
|         targetCompatibility JavaVersion.VERSION_1_8 | ||||
|     } | ||||
|  | ||||
|  | ||||
|     productFlavors { | ||||
|         fdroid_acad { | ||||
|             applicationId "app.fedilab.fedilabtube" | ||||
|             buildConfigField "string", "version", "fdroid_acad" | ||||
|         } | ||||
|         fdroid_full { | ||||
|             applicationId "app.fedilab.tubelab" | ||||
|             buildConfigField "string", "version", "fdroid_full" | ||||
|         } | ||||
|         google_acad { | ||||
|             applicationId "app.fedilab.fedilabtube" | ||||
|             buildConfigField "string", "version", "google_acad" | ||||
|         } | ||||
|         google_full { | ||||
|             applicationId "app.fedilab.tubelab" | ||||
|             buildConfigField "string", "version", "google_full" | ||||
|         } | ||||
|     } | ||||
| } | ||||
|  | ||||
| allprojects { | ||||
| @@ -37,12 +58,13 @@ allprojects { | ||||
|     } | ||||
| } | ||||
|  | ||||
|  | ||||
| dependencies { | ||||
|     implementation "androidx.multidex:multidex:2.0.1" | ||||
|     implementation fileTree(dir: "libs", include: ["*.jar"]) | ||||
|     implementation 'androidx.appcompat:appcompat:1.2.0' | ||||
|     implementation 'androidx.preference:preference:1.1.1' | ||||
|     implementation 'com.google.android.material:material:1.2.0' | ||||
|     implementation 'com.google.android.material:material:1.2.1' | ||||
|     implementation 'androidx.constraintlayout:constraintlayout:2.0.1' | ||||
|     implementation 'androidx.vectordrawable:vectordrawable:1.1.0' | ||||
|     implementation 'androidx.navigation:navigation-fragment:2.3.0' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user