Class: Buildr::Resolver::Java
- Inherits:
-
Object
- Object
- Buildr::Resolver::Java
- Includes:
- Singleton
- Defined in:
- lib/buildr/resolver/java.rb
Instance Attribute Summary collapse
-
#naether ⇒ Object
readonly
Returns the value of attribute naether.
Instance Method Summary collapse
-
#initialize ⇒ Java
constructor
A new instance of Java.
- #jar_dependencies ⇒ Object
Constructor Details
#initialize ⇒ Java
Returns a new instance of Java.
12 13 14 15 16 17 18 19 |
# File 'lib/buildr/resolver/java.rb', line 12 def initialize # Load Naether jar dependencies @naether_jars = [Naether::Bootstrap.naether_jar] @naether_jars = @naether_jars + Buildr.artifacts(Naether.bootstrap_dependencies).each(&:invoke).map(&:to_s) @naether = Naether.create_from_jars( @naether_jars ) end |
Instance Attribute Details
#naether ⇒ Object (readonly)
Returns the value of attribute naether.
10 11 12 |
# File 'lib/buildr/resolver/java.rb', line 10 def naether @naether end |
Instance Method Details
#jar_dependencies ⇒ Object
21 22 23 |
# File 'lib/buildr/resolver/java.rb', line 21 def jar_dependencies @naether_jars end |