mirror of
				https://github.com/TeamNewPipe/NewPipe
				synced 2025-10-30 23:03:00 +00:00 
			
		
		
		
	Run Checkstyle only on debug builds
This commit is contained in:
		| @@ -127,12 +127,14 @@ tasks.withType(Checkstyle).each { | ||||
|     } | ||||
| } | ||||
|  | ||||
| preBuild.dependsOn runCheckstyle | ||||
| afterEvaluate { | ||||
|     preDebugBuild.dependsOn runCheckstyle | ||||
| } | ||||
|  | ||||
| dependencies { | ||||
|     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||||
|  | ||||
|     implementation "com.puppycrawl.tools:checkstyle:${checkstyleVersion}" | ||||
|     debugImplementation "com.puppycrawl.tools:checkstyle:${checkstyleVersion}" | ||||
|  | ||||
|     androidTestImplementation 'androidx.test.ext:junit:1.1.1' | ||||
|     androidTestImplementation "android.arch.persistence.room:testing:1.1.1" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 wb9688
					wb9688