-
Notifications
You must be signed in to change notification settings - Fork 36
/
build.gradle
53 lines (42 loc) · 1.27 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
buildscript {
repositories {
// mavenLocal()
mavenCentral()
jcenter()
// maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}
dependencies {
classpath 'org.anarres.gradle:gradle-stdproject-plugin:1.0.9'
}
}
apply plugin: 'org.anarres.stdproject'
stdproject {
javadocLinkSource = true;
}
group = "org.anarres"
apply plugin: 'org.anarres.stdmodule'
stdmodule {
description "An embeddable C Preprocessor for the JVM."
author id: 'shevek', name: 'Shevek', email: '[email protected]'
license 'Apache-2.0'
}
sourceCompatibility = 1.5
dependencies {
compile 'com.google.code.findbugs:annotations:3.0.1'
compile 'org.slf4j:slf4j-api:1.7.12'
compile 'net.sf.jopt-simple:jopt-simple:4.7'
compile 'org.apache.ant:ant:1.7.0'
compile 'com.github.zafarkhaja:java-semver:0.8.0'
testCompile 'com.google.guava:guava:18.0'
}
// This ensures that the info-plugin's properties file is in the
// same location for the test suite as in the JAR.
task('processTestVersionResources', type: Copy, dependsOn: processTestResources) {
into project.sourceSets.test.output.resourcesDir
from(writeManifestProperties) {
into "META-INF"
}
}
testClasses.dependsOn(processTestVersionResources)
apply plugin: 'application'
mainClassName = "org.anarres.cpp.Main"