motion-gradle 2.0.1 → 2.1.0

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: 29b99eecfa3998d37f7c84148add59288fc27936
4
- data.tar.gz: 17e20e3047428d8ada52e18a1ac19bf6ed8142e2
3
+ metadata.gz: 6155dbba5e4215eda51727bd2d810b6bfde89455
4
+ data.tar.gz: 3c9265662788050ffe835305fd09cf1f806f279d
5
5
  SHA512:
6
- metadata.gz: 44595bcee1be1436d52c112829e0c70ca0d0bb1c8251850cccc8799dd5194eae99c6c67034dba2c527c09bc064b7d06f326f32244f487a54ca7c8a32097c22b1
7
- data.tar.gz: 11cabb370de5825f4cc08278b85fa33d9522e4532c71275b1d04c26067a6709ec53ae05917592d78e3d9c2695ade043e71f2b327824daf89b62847cfdb01240b
6
+ metadata.gz: 73d2193cccd9a032737e907dc152357f6bf876da465912e34312d44e2c5fee0e7651fdba60c2ded9ce87fa749fd81a0cae04204681c13a09813ec97e2056a219
7
+ data.tar.gz: 62c7ae6aa8d775065c1ae889926ef2c21dd966bba3358374195e7e2deaa72fb1ce3b5a898e5c813d0384c1fc8513c6f97e68768055b283bfe9dc0fb4d5f1a3e0
@@ -113,10 +113,13 @@ module Motion::Project
113
113
  aars_dependendies = Dir[File.join(GRADLE_ROOT, 'aar/*')]
114
114
  aars_dependendies.each do |dependency|
115
115
  main_jar = File.join(dependency, 'classes.jar')
116
+ jar_path = File.join(dependency, "#{File.basename(dependency)}.jar")
117
+
116
118
  if File.exist?(main_jar)
117
- jar_path = File.join(dependency, "#{File.basename(dependency)}.jar")
118
119
  FileUtils.mv(main_jar, jar_path)
119
120
  vendor_options = { jar: jar_path }
121
+ elsif File.exist?(jar_path)
122
+ vendor_options = { jar: jar_path }
120
123
  else
121
124
  next
122
125
  end
@@ -1,3 +1,3 @@
1
1
  module MotionGradle
2
- VERSION = '2.0.1'
2
+ VERSION = '2.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-gradle
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joffrey Jaffeux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-30 00:00:00.000000000 Z
11
+ date: 2015-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop