/
build.gradle
executable file
·56 lines (48 loc) · 1018 Bytes
/
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
apply plugin: 'groovy'
apply plugin: 'maven-publish'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:0.3'
}
}
apply plugin: 'bintray'
group = 'gstorm'
version = '0.4'
repositories {
mavenLocal()
mavenCentral()
}
sourceSets {
main.groovy.srcDir 'src'
test.groovy.srcDir 'test'
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.1.3',
'org.hsqldb:hsqldb:2.2.9'
testCompile 'junit:junit:4.10'
}
publishing {
publications {
gstormMaven(MavenPublication) {
from components.java
}
}
}
bintray {
user = bintray_user
key = bintray_api_key
publications = ['gstormMaven']
pkg {
repo = 'maven'
name = 'gstorm'
desc = 'Groovy Single Table ORM'
licenses = ['Apache-2.0']
}
dryRun = true // whether to run this as dry-run, without deploying
}
task wrapper(type: Wrapper) {
gradleVersion = '1.8'
}