aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
blob: d14e20b7e1d1ca0e566c989e01080d24e2299746 (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
apply plugin: "groovy"
apply plugin: "maven"
apply plugin: "signing"

defaultTasks "build"

ext {
    isSnapshot = true
    baseVersion = "0.1"
    snapshotAppendix = "-SNAPSHOT"
    pluginVersion = baseVersion + (isSnapshot ? snapshotAppendix : "")

    fregeVersion = "3.22.324"
    fregeClassifier = "-g630677b"
}

apply from: "gradle/sonatype.gradle"

repositories {
  mavenCentral()
}

version = pluginVersion
group = groupName

dependencies {
    compile "com.theoryinpractise.frege:frege:${fregeVersion}${fregeClassifier}"
    compile gradleApi()
    compile localGroovy()
}

Boolean doSigning() {
  signingEnabled.trim() == "true"
}