guard-gradle 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/CHANGELOG.md +2 -0
- data/Gemfile +4 -0
- data/MIT-LICENSE +22 -0
- data/README.md +57 -0
- data/Rakefile +1 -0
- data/guard-gradle.gemspec +22 -0
- data/lib/guard/gradle/templates/Guardfile +4 -0
- data/lib/guard/gradle/version.rb +5 -0
- data/lib/guard/gradle.rb +13 -0
- metadata +69 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0447c6b1ed22d1a1cd5da3fcb5b5b4f67033d2b3
|
4
|
+
data.tar.gz: 0f0718bea5cf27e832b8645773510b54e4bee0e5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7ec7a439089555af86d0dae07dec06993dfe1635ab40bcbf56b9b18fc180864a73ea948d7bb2d2d0cabcd21e08704e537eec45bcd8c624df8263f0acfc82bad1
|
7
|
+
data.tar.gz: 36f3e68e5db93d883d6d67d979d33f1bda19460624f354b76af78a20c56946312a6a6f1c7a8c51a62678105e3b19b874b229fd752339ea076a349bd9fd19ce57
|
data/.gitignore
ADDED
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/MIT-LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Bryan Ricker
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
# Guard::Gradle
|
2
|
+
|
3
|
+
Build your Java projects with Gradle as you work.
|
4
|
+
|
5
|
+
|
6
|
+
### Why?
|
7
|
+
|
8
|
+
I don't like any of the Android IDE's so I'm determined replicate all of their
|
9
|
+
useful features at the command line or Sublime plugins.
|
10
|
+
|
11
|
+
|
12
|
+
## Installation
|
13
|
+
|
14
|
+
Create a Gemfile that looks like:
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
source "https://rubygems.org"
|
18
|
+
gem 'guard-gradle'
|
19
|
+
```
|
20
|
+
|
21
|
+
Then run:
|
22
|
+
|
23
|
+
```
|
24
|
+
bundle install
|
25
|
+
```
|
26
|
+
|
27
|
+
To create a Guardfile with the recommended configuration, run:
|
28
|
+
|
29
|
+
```
|
30
|
+
bundle exec guard init gradle
|
31
|
+
```
|
32
|
+
|
33
|
+
|
34
|
+
## Usage
|
35
|
+
|
36
|
+
This Guard plugin simply builds your gradle project using the gradle wrapper. The exact command it runs is:
|
37
|
+
|
38
|
+
```
|
39
|
+
./gradlew build
|
40
|
+
```
|
41
|
+
|
42
|
+
Therefore, you'll need to start guard from wherever your `gradlew` script lives:
|
43
|
+
|
44
|
+
```
|
45
|
+
bundle exec guard
|
46
|
+
```
|
47
|
+
|
48
|
+
The default Guardfile assumes that your project will follow the standard Gradle project structure (everything under the `src` directory), but you can customize this in your Guardfile.
|
49
|
+
|
50
|
+
|
51
|
+
## Contributing
|
52
|
+
|
53
|
+
1. Fork it
|
54
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
55
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
56
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
57
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'guard/gradle/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "guard-gradle"
|
8
|
+
spec.version = Guard::GradleVersion::VERSION
|
9
|
+
spec.authors = ["Bryan Ricker"]
|
10
|
+
spec.email = ["bricker88@gmail.com"]
|
11
|
+
spec.description = %q{Guard plugin for Gradle builds}
|
12
|
+
spec.summary = %q{Build your Java projects as you work.}
|
13
|
+
spec.homepage = "https://github.com/bricker/guard-gradle"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency 'guard', "~> 2.2.5"
|
22
|
+
end
|
data/lib/guard/gradle.rb
ADDED
metadata
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: guard-gradle
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Bryan Ricker
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-01-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: guard
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.2.5
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.2.5
|
27
|
+
description: Guard plugin for Gradle builds
|
28
|
+
email:
|
29
|
+
- bricker88@gmail.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- .gitignore
|
35
|
+
- CHANGELOG.md
|
36
|
+
- Gemfile
|
37
|
+
- MIT-LICENSE
|
38
|
+
- README.md
|
39
|
+
- Rakefile
|
40
|
+
- guard-gradle.gemspec
|
41
|
+
- lib/guard/gradle.rb
|
42
|
+
- lib/guard/gradle/templates/Guardfile
|
43
|
+
- lib/guard/gradle/version.rb
|
44
|
+
homepage: https://github.com/bricker/guard-gradle
|
45
|
+
licenses:
|
46
|
+
- MIT
|
47
|
+
metadata: {}
|
48
|
+
post_install_message:
|
49
|
+
rdoc_options: []
|
50
|
+
require_paths:
|
51
|
+
- lib
|
52
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
requirements: []
|
63
|
+
rubyforge_project:
|
64
|
+
rubygems_version: 2.0.3
|
65
|
+
signing_key:
|
66
|
+
specification_version: 4
|
67
|
+
summary: Build your Java projects as you work.
|
68
|
+
test_files: []
|
69
|
+
has_rdoc:
|