buildr 1.5.6 → 1.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +36 -0
- data/README.rdoc +2 -2
- data/Rakefile +1 -1
- data/addon/buildr/gwt.rb +4 -7
- data/addon/buildr/jetty.rb +1 -1
- data/buildr.buildfile +2 -3
- data/buildr.gemspec +2 -1
- data/doc/_layouts/default.html +1 -1
- data/doc/artifacts.textile +2 -2
- data/doc/download.textile +30 -6
- data/doc/index.textile +28 -37
- data/doc/installing.textile +2 -2
- data/doc/projects.textile +1 -1
- data/doc/quick_start.textile +3 -3
- data/lib/buildr/core/generate.rb +2 -2
- data/lib/buildr/core/project.rb +2 -2
- data/lib/buildr/core/transports.rb +1 -1
- data/lib/buildr/ide/idea.rb +38 -16
- data/lib/buildr/java/custom_pom.rb +0 -5
- data/lib/buildr/java/doc.rb +2 -0
- data/lib/buildr/java/tests.rb +4 -4
- data/lib/buildr/kotlin/compiler.rb +3 -3
- data/lib/buildr/kotlin/org/apache/buildr/KotlinMessageCollector.java +4 -4
- data/lib/buildr/packaging/archive.rb +5 -5
- data/lib/buildr/packaging/artifact.rb +16 -0
- data/lib/buildr/packaging/artifact_namespace.rb +8 -7
- data/lib/buildr/packaging/artifact_search.rb +1 -1
- data/lib/buildr/packaging/gems.rb +0 -1
- data/lib/buildr/packaging/tar.rb +5 -5
- data/lib/buildr/version.rb +1 -1
- data/rakelib/release.rake +2 -2
- data/rakelib/rspec.rake +1 -0
- data/rakelib/stage.rake +2 -2
- data/spec/core/build_spec.rb +2 -2
- data/spec/core/checks_spec.rb +1 -1
- data/spec/core/compile_spec.rb +2 -2
- data/spec/core/shell_spec.rb +1 -1
- data/spec/core/transport_spec.rb +1 -0
- data/spec/ide/eclipse_spec.rb +1 -1
- data/spec/ide/idea_spec.rb +1 -1
- data/spec/java/custom_pom_spec.rb +0 -7
- data/spec/java/ecj_spec.rb +2 -2
- data/spec/java/packaging_spec.rb +3 -3
- data/spec/java/test_coverage_helper.rb +1 -1
- data/spec/kotlin/compiler_spec.rb +12 -12
- data/spec/packaging/archive_spec.rb +3 -3
- data/spec/packaging/artifact_spec.rb +5 -12
- data/spec/packaging/packaging_helper.rb +1 -1
- data/spec/packaging/packaging_spec.rb +0 -5
- data/spec/sandbox.rb +1 -1
- data/spec/scala/compiler_spec.rb +7 -7
- metadata +17 -3
data/spec/sandbox.rb
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
# that the code requires several artifacts. So we establish them first using the real local
|
19
19
|
# repository and cache these across test cases.
|
20
20
|
Buildr.application.instance_eval { @rakefile = File.expand_path('buildfile') }
|
21
|
-
repositories.remote << '
|
21
|
+
repositories.remote << 'https://repo1.maven.org/maven2'
|
22
22
|
repositories.remote << 'https://oss.sonatype.org/content/groups/scala-tools'
|
23
23
|
|
24
24
|
|
data/spec/scala/compiler_spec.rb
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helpers'))
|
18
18
|
|
19
19
|
# need to test both with and without SCALA_HOME
|
20
|
-
|
20
|
+
RSpec.shared_examples 'ScalacCompiler' do
|
21
21
|
|
22
22
|
it 'should identify itself from source directories' do
|
23
23
|
write 'src/main/scala/com/example/Test.scala', 'package com.example; class Test { val i = 1 }'
|
@@ -118,7 +118,7 @@ if ENV['SCALA_HOME']
|
|
118
118
|
ENV['SCALA_HOME'].should_not be_nil
|
119
119
|
end
|
120
120
|
|
121
|
-
it_should_behave_like ScalacCompiler
|
121
|
+
it_should_behave_like 'ScalacCompiler'
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
@@ -133,14 +133,14 @@ describe 'scala compiler (downloaded from repository)' do
|
|
133
133
|
ENV['SCALA_HOME'].should be_nil
|
134
134
|
end
|
135
135
|
|
136
|
-
it_should_behave_like ScalacCompiler
|
136
|
+
it_should_behave_like 'ScalacCompiler'
|
137
137
|
|
138
138
|
after :all do
|
139
139
|
ENV['SCALA_HOME'] = old_home
|
140
140
|
end
|
141
141
|
end
|
142
142
|
|
143
|
-
|
143
|
+
RSpec.shared_examples 'ScalacCompiler_CommonOptions' do
|
144
144
|
|
145
145
|
it 'should set warnings option to false by default' do
|
146
146
|
compile_task.options.warnings.should be_false
|
@@ -275,7 +275,7 @@ end
|
|
275
275
|
|
276
276
|
describe 'scala compiler 2.8 options' do
|
277
277
|
|
278
|
-
it_should_behave_like ScalacCompiler_CommonOptions
|
278
|
+
it_should_behave_like 'ScalacCompiler_CommonOptions'
|
279
279
|
|
280
280
|
def compile_task
|
281
281
|
@compile_task ||= define('foo').compile.using(:scalac)
|
@@ -298,7 +298,7 @@ end if Buildr::Scala.version?(2.8)
|
|
298
298
|
|
299
299
|
describe 'scala compiler 2.9 options' do
|
300
300
|
|
301
|
-
it_should_behave_like ScalacCompiler_CommonOptions
|
301
|
+
it_should_behave_like 'ScalacCompiler_CommonOptions'
|
302
302
|
|
303
303
|
def compile_task
|
304
304
|
@compile_task ||= define('foo').compile.using(:scalac)
|
@@ -345,7 +345,7 @@ describe 'zinc compiler (enabled through Buildr.settings)' do
|
|
345
345
|
compile_task.invoke
|
346
346
|
end
|
347
347
|
|
348
|
-
it_should_behave_like ScalacCompiler
|
348
|
+
it_should_behave_like 'ScalacCompiler'
|
349
349
|
|
350
350
|
after :each do
|
351
351
|
Buildr.settings.build['scalac.incremental'] = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apache Buildr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -416,6 +416,20 @@ dependencies:
|
|
416
416
|
- - '='
|
417
417
|
- !ruby/object:Gem::Version
|
418
418
|
version: 1.2.1
|
419
|
+
- !ruby/object:Gem::Dependency
|
420
|
+
name: zapwhite
|
421
|
+
requirement: !ruby/object:Gem::Requirement
|
422
|
+
requirements:
|
423
|
+
- - '='
|
424
|
+
- !ruby/object:Gem::Version
|
425
|
+
version: 2.14.0
|
426
|
+
type: :development
|
427
|
+
prerelease: false
|
428
|
+
version_requirements: !ruby/object:Gem::Requirement
|
429
|
+
requirements:
|
430
|
+
- - '='
|
431
|
+
- !ruby/object:Gem::Version
|
432
|
+
version: 2.14.0
|
419
433
|
description: |
|
420
434
|
Apache Buildr is a build system for Java-based applications, including support
|
421
435
|
for Scala, Groovy and a growing number of JVM languages and tools. We wanted
|
@@ -700,7 +714,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
700
714
|
- !ruby/object:Gem::Version
|
701
715
|
version: 1.8.6
|
702
716
|
requirements: []
|
703
|
-
rubyforge_project:
|
717
|
+
rubyforge_project:
|
704
718
|
rubygems_version: 2.5.1
|
705
719
|
signing_key:
|
706
720
|
specification_version: 4
|