mirror of
				https://github.com/JetBrains/intellij-platform-plugin-template.git
				synced 2025-06-13 13:04:09 +00:00 
			
		
		
		
	build.gradle.kts: simpler syntax for configuring KotlinCompile (#63)
This commit is contained in:
		
							parent
							
								
									5b56cbb97e
								
							
						
					
					
						commit
						6d2468914a
					
				@ -77,11 +77,9 @@ tasks {
 | 
				
			|||||||
        sourceCompatibility = "1.8"
 | 
					        sourceCompatibility = "1.8"
 | 
				
			||||||
        targetCompatibility = "1.8"
 | 
					        targetCompatibility = "1.8"
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    listOf("compileKotlin", "compileTestKotlin").forEach {
 | 
					    withType<KotlinCompile> {
 | 
				
			||||||
        getByName<KotlinCompile>(it) {
 | 
					 | 
				
			||||||
        kotlinOptions.jvmTarget = "1.8"
 | 
					        kotlinOptions.jvmTarget = "1.8"
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    withType<Detekt> {
 | 
					    withType<Detekt> {
 | 
				
			||||||
        jvmTarget = "1.8"
 | 
					        jvmTarget = "1.8"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user