File tree Expand file tree Collapse file tree 4 files changed +33
-25
lines changed Expand file tree Collapse file tree 4 files changed +33
-25
lines changed Original file line number Diff line number Diff line change 1
1
language : groovy
2
- script :
3
- - ./gradlew clean build --daemon
4
- - cd example
5
- - ../gradlew clean build --daemon
6
2
jobs :
7
3
include :
8
- - stage : Build
9
- os : linux
10
- jdk : oraclejdk8
11
- - stage : Build
4
+ - stage : Build plugin
12
5
os : linux
13
6
jdk : oraclejdk9
14
- - stage : Build
15
- os : osx
16
- osx_image : xcode9.3beta
17
- env :
18
- - GOPATH=$HOME/go
19
- - PATH=$PATH:$GOPATH/bin
20
- before_install :
21
- - mkdir -p $HOME/go/bin
22
- - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
7
+ script :
8
+ - ./gradlew clean build
23
9
- stage : Deploy
24
10
os : linux
25
11
jdk : oraclejdk9
26
- script :
27
- - echo "Deploying to Gradle Plugin Portal..."
12
+ script : skip
28
13
deploy :
29
14
provider : script
30
15
script :
31
16
- ./gradlew clean publishPlugins -Dgradle.publish.key=$GRADLE_PUBLISH_KEY -Dgradle.publish.secret=$GRADLE_PUBLISH_SECRET
32
17
on :
33
18
tags : true
34
19
- stage : Deploy
35
- script :
36
- - echo "Deploying to GitHub releases..."
20
+ script : skip
37
21
deploy :
38
22
provider : releases
39
23
api_key : $GITHUB_OAUTH_TOKEN
40
24
on :
41
25
tags : true
26
+ - stage : Build example
27
+ os : linux
28
+ jdk : oraclejdk8
29
+ script :
30
+ - cd example
31
+ - ../gradlew clean build
32
+ - stage : Build example
33
+ os : linux
34
+ jdk : oraclejdk9
35
+ script :
36
+ - cd example
37
+ - ../gradlew clean build
38
+ - stage : Build example
39
+ os : osx
40
+ osx_image : xcode9.3beta
41
+ env :
42
+ - GOPATH=$HOME/go
43
+ - PATH=$PATH:$GOPATH/bin
44
+ script :
45
+ - cd example
46
+ - ../gradlew clean build
47
+ before_install :
48
+ - mkdir -p $HOME/go/bin
49
+ - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
42
50
before_install :
43
51
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
44
52
before_cache :
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Plugin expects that _go_ and _dep_ commands are already installed on given syste
25
25
26
26
``` groovy
27
27
plugins {
28
- id "cz.swsamuraj.godep" version "0.3.1 "
28
+ id "cz.swsamuraj.godep" version "0.3.2 "
29
29
}
30
30
```
31
31
### All Gradle versions (or local repository) ##
@@ -38,7 +38,7 @@ buildscript {
38
38
}
39
39
}
40
40
dependencies {
41
- classpath "gradle.plugin.cz.swsamuraj:gradle-godep-plugin:0.3.1 "
41
+ classpath "gradle.plugin.cz.swsamuraj:gradle-godep-plugin:0.3.2 "
42
42
}
43
43
}
44
44
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ dependencies {
12
12
compile localGroovy()
13
13
}
14
14
15
- version = ' 0.3.1 '
15
+ version = ' 0.3.2 '
16
16
group = ' cz.swsamuraj'
17
17
18
18
jar {
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id ' cz.swsamuraj.godep' version ' 0.3.1 '
2
+ id ' cz.swsamuraj.godep' version ' 0.3.2 '
3
3
}
4
4
/*
5
5
buildscript {
You can’t perform that action at this time.
0 commit comments