high_five 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33c1f2bfbd31299df184cc06392a34924828428b
4
- data.tar.gz: f225a36e9f21d716f3a3fce6777566db855334a2
3
+ metadata.gz: 3559bbd38b7da53591176f3676475cb47df13f45
4
+ data.tar.gz: b42f12b127fdfd4f60aeaa7b352400a18ced4905
5
5
  SHA512:
6
- metadata.gz: 9c946a53a011fbba90fb4e641efdb99624d42391c34113913c0c4f0efe7e9e7a9ff8ec23f3980a37b64902c8d1e297426935a290adde4ed51863c76941aca656
7
- data.tar.gz: de52cf3c1933ac11519661be7e77cb76a7e6d28ea572d63d702d18bb7b2eaeece2c63897189ccc61cef3bba7ae1b6aac79615ca183e38bc3e71e134335c1b701
6
+ metadata.gz: fd981b4fe75b8078e67d2814522eba8e78e181250cfd43d420b51f67a8859bee4c298a317a961a47d4d09aca2d6cc7e2ac1d21426faf863fb343ad5d5c885560
7
+ data.tar.gz: 026f0962b1056c590ea61be6ff4ca70ad1064e2ab6214f41fb66e23b204ec48af2b356dd791ad0c6324b6f7b22316e736b51ecd6961b76373a37d91a2fbae976
@@ -66,7 +66,12 @@ module HighFive
66
66
  @output_file_name = options[:output_file_name]
67
67
  ant_flags = options[:"ant-flags"] || ""
68
68
  system_or_die("android update project --path #{android_path} --subprojects")
69
- system_or_die("ant -file '#{android_path}/build.xml' clean release #{ant_flags}")
69
+ gradle_file = File.join(android_path, "build.gradle")
70
+ if File.exists?(gradle_file)
71
+ system_or_die("gradle -b #{gradle_file} clean assembleRelease")
72
+ else
73
+ system_or_die("ant -file '#{android_path}/build.xml' clean release #{ant_flags}")
74
+ end
70
75
 
71
76
  android_name = HighFive::AndroidHelper.project_name_from_build_xml("#{android_path}/build.xml")
72
77
 
@@ -1,3 +1,3 @@
1
1
  module HighFive
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: high_five
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-01 00:00:00.000000000 Z
11
+ date: 2015-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json