-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
78 lines (64 loc) · 1.61 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
buildscript {
repositories {
mavenLocal()
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
url = "https://oss.sonatype.org/content/groups/public"
}
mavenCentral()
}
dependencies {
classpath "gradle.plugin.org.frege-lang:frege-gradle-plugin:0.5"
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3"
}
}
apply plugin: "java"
apply plugin: "maven"
apply plugin: "signing"
apply plugin: "org.frege-lang"
apply plugin: 'io.codearte.nexus-staging'
apply plugin: "application"
mainClassName = "frege.nativegen.Main"
run {
standardInput = System.in
standardOutput = System.out
if (project.hasProperty("options")) {
String noptions = "-t $rootDir/src/dist/types.properties " + options
args noptions.split(' ')
}
}
defaultTasks "build"
sourceCompatibility = 1.7
targetCompatibility = 1.7
ext {
baseVersion = "1.4"
isSnapshot = true
snapshotAppendix = "-SNAPSHOT"
projectVersion = baseVersion + (isSnapshot ? snapshotAppendix : "")
fregeVersion = "3.23.450-SNAPSHOT"
guavaVersion = "18.0"
}
apply from: "$rootDir/gradle/sonatype.gradle"
version = projectVersion
group = groupName
archivesBaseName = project.name
repositories {
mavenLocal()
maven {
url = sonatypeRepositoryUrl
}
mavenCentral()
}
compileTestFrege {
enabled = false
}
dependencies {
compile "org.frege-lang:frege:$fregeVersion"
compile "com.google.guava:guava:$guavaVersion"
}
nexusStaging {
packageGroup = groupName
stagingProfileId = "a622b6773bea07"
}