mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	ktLint check in library
This commit is contained in:
		
							parent
							
								
									7dc81fb74c
								
							
						
					
					
						commit
						257f616b0f
					
				
							
								
								
									
										5
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | [*] | ||||||
|  | max_line_length = 150 | ||||||
|  | 
 | ||||||
|  | [*.{kt, kts}] | ||||||
|  | disabled_rules=no-consecutive-blank-lines,no-wildcard-imports,import-ordering,max-line-length,import-ordering,no-blank-line-before-rbrace,final-newline,indent,no-multi-spaces,comment-spacing,parameter-list-wrapping | ||||||
| @ -7,8 +7,10 @@ buildscript { | |||||||
|     repositories { |     repositories { | ||||||
|         google() |         google() | ||||||
|         jcenter() |         jcenter() | ||||||
|  |         maven { url "https://plugins.gradle.org/m2/" } | ||||||
|     } |     } | ||||||
|     dependencies { |     dependencies { | ||||||
|  |         classpath "org.jlleitschuh.gradle:ktlint-gradle:10.0.0" | ||||||
|         classpath 'com.android.tools.build:gradle:4.1.3' |         classpath 'com.android.tools.build:gradle:4.1.3' | ||||||
|         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" |         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" | ||||||
|     } |     } | ||||||
| @ -21,3 +23,7 @@ allprojects { | |||||||
|         maven { url 'https://jitpack.io' } |         maven { url 'https://jitpack.io' } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | subprojects { | ||||||
|  |     apply plugin: "org.jlleitschuh.gradle.ktlint" | ||||||
|  | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user