This repository was archived by the owner on Feb 28, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
### Unreleased
4
4
5
+ * Fix bug that resulted in inclusion in the package of the gwt compile output.
6
+
5
7
### [ v1.17] ( https://github.com/react4j/react4j-widget/tree/v1.17 ) (2018-05-20)
6
8
[ Full Changelog] ( https://github.com/react4j/react4j-widget/compare/v1.16...v1.17 )
7
9
Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ CONTENT
48
48
dependencies += [ dir ]
49
49
end
50
50
51
+ # Duplicate the assets as the following gwt task will add compile output to asset path
52
+ # which we typically do NOT want to include in jar
53
+ assets = project . assets . paths . dup
51
54
if ENV [ 'GWT' ] . nil? || ENV [ 'GWT' ] == project . name
52
55
modules = modules_complete ? gwt_modules : gwt_modules . collect { |gwt_module | "#{ gwt_module } Test" }
53
56
modules . each do |m |
@@ -63,7 +66,7 @@ CONTENT
63
66
j . include ( "#{ dep } /*" )
64
67
end
65
68
j . include ( project . _ ( :generated , 'processors/main/java/react4j' ) ) if project . enable_annotation_processor?
66
- project . assets . paths . each do |path |
69
+ assets . each do |path |
67
70
j . include ( "#{ path } /*" )
68
71
end
69
72
j . include ( "#{ project . _ ( :source , :main , :java ) } /*" )
You can’t perform that action at this time.
0 commit comments