summaryrefslogtreecommitdiff
path: root/build.gradle
blob: 1043f9c0248a8c53197c25da3488271f943a4a1e (plain)
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
buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3"
    }
}

apply plugin: "groovy"
apply plugin: "maven"
apply plugin: "signing"
apply plugin: 'io.codearte.nexus-staging'

defaultTasks "build"

sourceCompatibility = 1.7
targetCompatibility = 1.7

ext {
    baseVersion = "0.4.2"
    isSnapshot = true
    snapshotAppendix = "-SNAPSHOT"
    projectVersion = baseVersion + (isSnapshot ? snapshotAppendix : "")

    fregeBaseVersion = "3.22.524"
    fregeClassifier = "-gcc99d7e"
    fregeVersion = "$fregeBaseVersion$fregeClassifier"
}

apply from: "gradle/sonatype.gradle"

repositories {
    mavenLocal()
    maven {
        url = sonatypeRepositoryUrl
    }
    mavenCentral()
}

version = projectVersion
group = groupName

dependencies {
    compile "org.frege-lang:frege:$fregeVersion"
    compile "org.frege-lang:frege-repl-core:1.2"
    compile "org.frege-lang:frege-native-gen:1.3"
    compile gradleApi()
    compile localGroovy()
}

nexusStaging {
    packageGroup = groupName
    stagingProfileId = "a622b6773bea07"
}