Created
September 25, 2019 12:07
-
-
Save martijndwars/f9ae9f2148abd367125986da65c56b04 to your computer and use it in GitHub Desktop.
Gradle exclusion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Depend on Spoofax and replace org.graalvm:graal-sdk by org.graalvm.skd:graal-sdk. The exclusion | |
* resolves a conflict during compilatin and also shows up in the generated .pom. | |
*/ | |
plugins { | |
id 'java' | |
id 'maven-publish' | |
} | |
group = 'nl.martijndwars' | |
version = '1.0-SNAPSHOT' | |
repositories { | |
maven { url 'https://artifacts.metaborg.org/content/repositories/releases/' } | |
maven { url 'http://nexus.usethesource.io/content/repositories/public/' } | |
jcenter() | |
} | |
dependencies { | |
compile('org.metaborg:org.metaborg.spoofax.core.uber:2.5.7') { | |
exclude group: 'org.graalvm', module: 'graal-sdk' | |
} | |
compile 'org.graalvm.sdk:graal-sdk:19.1.1' | |
} | |
publishing { | |
publications { | |
maven(MavenPublication) { | |
from components.java | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment