forked from robfletcher/gradle-compass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
70 lines (60 loc) · 1.66 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:0.6"
classpath "org.gradle.api.plugins:gradle-nexus-plugin:0.7.1"
}
}
apply plugin: "com.jfrog.bintray"
apply plugin: "groovy"
apply plugin: "nexus"
apply from: "$rootDir/gradle/credentials.gradle"
group = "com.github.robfletcher"
version = "2.0.5"
archivesBaseName = "compass-gradle-plugin"
repositories {
jcenter()
}
dependencies {
compile gradleApi()
compile localGroovy()
compile "com.github.jruby-gradle:jruby-gradle-plugin:0.1.15"
compile "com.github.jengelman.gradle.plugins:gradle-processes:0.3.0"
testCompile("org.spockframework:spock-core:0.7-groovy-2.0") {
exclude group: "org.codehaus.groovy"
}
testCompile("com.netflix.nebula:nebula-test:2.0.4") {
exclude group: "org.codehaus.groovy"
}
testCompile "net.sourceforge.cssparser:cssparser:0.9.14"
}
test {
systemProperties."compass.gem.dir" = file("${buildDir}/tmp/gems").canonicalPath
}
task sourceJar(type: Jar) {
from sourceSets.main.allSource
}
bintray {
user = project.bintrayUsername
key = project.bintrayApiKey
publish = true
dryRun = false
configurations = ["archives"]
pkg {
userOrg = "robfletcher"
repo = "gradle-plugins"
name = "compass-gradle-plugin"
licenses = ["Apache-2.0"]
labels = ["compass"]
desc = "Gradle plugin for Sass & Compass compilation"
version {
name = project.version
vcsTag = "v${project.version}"
attributes = ["gradle-plugin": "com.github.robfletcher.compass:com.github.robfletcher:compass-gradle-plugin"]
}
}
}
bintrayUpload.dependsOn assemble
defaultTasks "build"