Skip to content

Commit

Permalink
Merge branch 'hotfix/0.3.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
sw-samuraj committed Apr 7, 2018
2 parents c54e57d + e0afca3 commit b85bbbc
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 25 deletions.
50 changes: 29 additions & 21 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,52 @@
language: groovy
script:
- ./gradlew clean build --daemon
- cd example
- ../gradlew clean build --daemon
jobs:
include:
- stage: Build
os: linux
jdk: oraclejdk8
- stage: Build
- stage: Build plugin
os: linux
jdk: oraclejdk9
- stage: Build
os: osx
osx_image: xcode9.3beta
env:
- GOPATH=$HOME/go
- PATH=$PATH:$GOPATH/bin
before_install:
- mkdir -p $HOME/go/bin
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
script:
- ./gradlew clean build
- stage: Deploy
os: linux
jdk: oraclejdk9
script:
- echo "Deploying to Gradle Plugin Portal..."
script: skip
deploy:
provider: script
script:
- ./gradlew clean publishPlugins -Dgradle.publish.key=$GRADLE_PUBLISH_KEY -Dgradle.publish.secret=$GRADLE_PUBLISH_SECRET
on:
tags: true
- stage: Deploy
script:
- echo "Deploying to GitHub releases..."
script: skip
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
on:
tags: true
- stage: Build example
os: linux
jdk: oraclejdk8
script:
- cd example
- ../gradlew clean build
- stage: Build example
os: linux
jdk: oraclejdk9
script:
- cd example
- ../gradlew clean build
- stage: Build example
os: osx
osx_image: xcode9.3beta
env:
- GOPATH=$HOME/go
- PATH=$PATH:$GOPATH/bin
script:
- cd example
- ../gradlew clean build
before_install:
- mkdir -p $HOME/go/bin
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
before_install:
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
before_cache:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Plugin expects that _go_ and _dep_ commands are already installed on given syste

```groovy
plugins {
id "cz.swsamuraj.godep" version "0.3.1"
id "cz.swsamuraj.godep" version "0.3.2"
}
```
### All Gradle versions (or local repository) ##
Expand All @@ -38,7 +38,7 @@ buildscript {
}
}
dependencies {
classpath "gradle.plugin.cz.swsamuraj:gradle-godep-plugin:0.3.1"
classpath "gradle.plugin.cz.swsamuraj:gradle-godep-plugin:0.3.2"
}
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies {
compile localGroovy()
}

version = '0.3.1'
version = '0.3.2'
group = 'cz.swsamuraj'

jar {
Expand Down
2 changes: 1 addition & 1 deletion example/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'cz.swsamuraj.godep' version '0.3.1'
id 'cz.swsamuraj.godep' version '0.3.2'
}
/*
buildscript {
Expand Down

0 comments on commit b85bbbc

Please sign in to comment.