Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Suppress '-h' option which is not supported by eclipse jdt compiler #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

38leinaD
Copy link

@38leinaD 38leinaD commented Jun 29, 2020

should fix #11 ; just unsure if we can safely just ignore it. For my use-case, it is fine; no native headers exist.

Until merged, can also be used/tested like this:

    buildscript {
    	repositories {
    			maven { url 'https://jitpack.io' }
    	}
    	dependencies {
    		classpath group: 'com.github.38leinaD', name: 'gradle-eclipse-compiler-plugin', version: 'fix~unrecognized-option-SNAPSHOT'
    	}
    }
    
    apply plugin: 'de.set.ecj'

@Justsnoopy30
Copy link

Could you provide an example of how to use the above code with gradle kotlin? I have tried multiple things and have not been able to get it to work.

@38leinaD
Copy link
Author

sure @Justsnoopy30

buildscript {
    repositories {
        maven(url = "https://jitpack.io")
    }
        
    dependencies {
        classpath("com.github.38leinaD:gradle-eclipse-compiler-plugin:fix~unrecognized-option-SNAPSHOT")
    }
}

apply(plugin = "de.set.ecj")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gradle 6 sets "-h" compiler-arg that is not supported by eclipse jdt compiler
2 participants