File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
src/main/java/com/github/lppedd/cc/angular2 Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id ' java'
33 id ' org.jetbrains.intellij' version ' 0.4.15'
4- id " io.freefair.lombok" version " 4.1.6"
54}
65
76group ' com.github.lppedd'
87version ' 0.2.0'
98
10- sourceCompatibility = 1.8
9+ sourceCompatibility = JavaVersion . VERSION_12
1110
1211repositories {
1312 mavenCentral()
13+ maven { url " https://jitpack.io" }
1414}
1515
1616dependencies {
1717 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
18+ annotationProcessor ' com.github.bsideup.jabel:jabel-javac-plugin:0.2.0'
1819}
1920
2021intellij {
@@ -34,3 +35,9 @@ patchPluginXml {
3435 changeNotes = new File (" change_notes/${ version.replace('.', '_')} .html" ). getText(' UTF-8' )
3536 pluginDescription = new File (" plugin_description.html" ). getText(' UTF-8' )
3637}
38+
39+ compileJava {
40+ options. compilerArgs = [
41+ " --release" , " 8" // Avoid using Java 12 APIs
42+ ]
43+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3030import com .intellij .psi .util .PsiModificationTracker ;
3131import com .intellij .util .containers .ContainerUtil ;
3232
33- import lombok .var ;
34-
3533/**
3634 * @author Edoardo Luppi
3735 */
@@ -102,7 +100,7 @@ private Collection<Angular2Module> findSourceModules() {
102100 JSImplicitElementProvider .class ,
103101 elementProvider -> {
104102 if (elementProvider .isValid ()) {
105- final Angular2Module module = Angular2EntitiesProvider .getModule (elementProvider );
103+ final var module = Angular2EntitiesProvider .getModule (elementProvider );
106104 ContainerUtil .addIfNotNull (modules , module );
107105 }
108106
You can’t perform that action at this time.
0 commit comments