mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-31 07:13:00 +00:00 
			
		
		
		
	Move plugins to the DSL block
This commit is contained in:
		| @@ -1,13 +1,12 @@ | ||||
| plugins { | ||||
|     id "com.android.application" | ||||
|     id "kotlin-android" | ||||
|     id "kotlin-kapt" | ||||
|     id "kotlin-parcelize" | ||||
|     id "checkstyle" | ||||
|     id "org.sonarqube" version "3.1.1" | ||||
| } | ||||
|  | ||||
| apply plugin: 'com.android.application' | ||||
| apply plugin: 'kotlin-android' | ||||
| apply plugin: 'kotlin-parcelize' | ||||
| apply plugin: 'kotlin-kapt' | ||||
| apply plugin: 'checkstyle' | ||||
|  | ||||
| android { | ||||
|     compileSdkVersion 30 | ||||
|     buildToolsVersion '30.0.3' | ||||
| @@ -80,13 +79,13 @@ android { | ||||
|         // Flag to enable support for the new language APIs | ||||
|         coreLibraryDesugaringEnabled true | ||||
|  | ||||
|         sourceCompatibility JavaVersion.VERSION_1_8 | ||||
|         targetCompatibility JavaVersion.VERSION_1_8 | ||||
|         sourceCompatibility JavaVersion.VERSION_11 | ||||
|         targetCompatibility JavaVersion.VERSION_11 | ||||
|         encoding 'utf-8' | ||||
|     } | ||||
|  | ||||
|     kotlinOptions { | ||||
|         jvmTarget = JavaVersion.VERSION_1_8 | ||||
|         jvmTarget = JavaVersion.VERSION_11 | ||||
|     } | ||||
|  | ||||
|     sourceSets { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 TacoTheDank
					TacoTheDank