forked from Frege/frege-repl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (54 loc) · 1.42 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
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: 'io.codearte.nexus-staging'
allprojects {
defaultTasks "build"
}
subprojects {
apply plugin: "java"
apply plugin: "groovy"
apply plugin: "maven"
apply plugin: "signing"
ext {
baseVersion = "1.4"
isSnapshot = true
snapshotAppendix = "-SNAPSHOT"
projectVersion = baseVersion + (isSnapshot ? snapshotAppendix : "")
fregeInterpreterVersion = "1.3-SNAPSHOT"
guavaVersion = "18.0"
}
apply from: "$rootDir/gradle/sonatype.gradle"
sourceCompatibility = 1.8
targetCompatibility = 1.8
version = projectVersion
group = groupName
archivesBaseName = project.name
repositories {
mavenLocal()
maven {
url = sonatypeRepositoryUrl
}
mavenCentral()
}
dependencies {
compile "org.frege-lang:frege-interpreter-core:$fregeInterpreterVersion"
}
nexusStaging {
packageGroup = groupName
stagingProfileId = "a622b6773bea07"
}
}