mirror of
https://github.com/corda/corda.git
synced 2025-02-21 01:42:24 +00:00
Add another hack to the root build.gradle, this time to fix the initial IntelliJ import that had become very rough due to the IDE not realising that it should be treated as a Java 8 project.
This commit is contained in:
parent
1660ec95b8
commit
901d02d684
@ -47,6 +47,15 @@ apply plugin: 'com.github.ben-manes.versions'
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'net.corda.plugins.quasar-utils'
|
||||
|
||||
// We need the following three lines even though they're inside an allprojects {} block below because otherwise
|
||||
// IntelliJ gets confused when importing the project and ends up erasing and recreating the .idea directory, along
|
||||
// with the run configurations. It also doesn't realise that the project is a Java 8 project and misconfigures
|
||||
// the resulting import. This fixes it.
|
||||
apply plugin: 'java'
|
||||
sourceCompatibility = 1.8
|
||||
targetCompatibility = 1.8
|
||||
|
||||
|
||||
allprojects {
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'jacoco'
|
||||
|
Loading…
x
Reference in New Issue
Block a user