File tree Expand file tree Collapse file tree 4 files changed +24
-30
lines changed Expand file tree Collapse file tree 4 files changed +24
-30
lines changed Original file line number Diff line number Diff line change 1
1
require_relative 'lib/ruby_wordcram/version'
2
2
3
- def create_manifest
4
- title = 'Implementation-Title: WordCram for JRubyArt and propane)'
5
- version = format ( 'Implementation-Version: %s' , WordCram ::VERSION )
6
- File . open ( 'MANIFEST.MF' , 'w' ) do |f |
7
- f . puts ( title )
8
- f . puts ( version )
9
- f . puts ( 'Class-Path: jsoup-1.12.1.jar' )
10
- end
11
- end
12
-
13
- task default : [ :init , :compile , :install ]
14
-
15
- desc 'Create Manifest'
16
- task :init do
17
- create_manifest
18
- end
3
+ task default : [ :compile , :install , :gem ]
19
4
20
5
desc 'Install'
21
6
task :install do
Original file line number Diff line number Diff line change 1
1
project 'Wordcram' do
2
2
3
3
model_version '4.0.0'
4
- id 'wordcram:WordCram:2.0.5 '
4
+ id 'wordcram:WordCram:2.0.6 '
5
5
packaging 'jar'
6
6
7
7
description 'WordCram for JRubyArt and propane'
21
21
roles 'developer'
22
22
end
23
23
24
- properties ( 'maven.compiler.target' => '1.8' ,
25
- 'source.directory' => 'src' ,
26
- 'maven.compiler.source' => '1.8' ,
27
- 'polyglot.dump.pom' => 'pom.xml' ,
28
- 'project.build.sourceEncoding' => 'utf-8' ,
29
- 'wordcram.basedir' => '${project.basedir}' )
24
+ properties ( 'source.directory' => 'src' ,
25
+ 'polyglot.dump.pom' => 'pom.xml' ,
26
+ 'project.build.sourceEncoding' => 'UTF-8' ,
27
+ 'target.release' => '11' ,
28
+ 'polyglot.dump.pom' => 'pom.xml' ,
29
+ 'wordcram.basedir' => '${project.basedir}'
30
+ )
30
31
31
- jar 'org.processing:core:4.0.0 '
32
+ jar 'org.processing:core:3.3.7 '
32
33
jar 'org.jsoup:jsoup:1.13.1'
33
34
34
35
overrides do
36
+ plugin ( :compiler , '3.8.1' ,
37
+ 'release' => '${target.release}' )
35
38
plugin ( :jar , '3.2.0' ,
36
39
'archive' => {
37
40
'manifestEntries' => {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ DO NOT MODIFIY - GENERATED CODE
11
11
<modelVersion >4.0.0</modelVersion >
12
12
<groupId >wordcram</groupId >
13
13
<artifactId >WordCram</artifactId >
14
- <version >2.0.5 </version >
14
+ <version >2.0.6 </version >
15
15
<name >Wordcram</name >
16
16
<description >WordCram for JRubyArt and propane</description >
17
17
<developers >
@@ -38,11 +38,10 @@ DO NOT MODIFIY - GENERATED CODE
38
38
</developer >
39
39
</developers >
40
40
<properties >
41
- <maven .compiler.source>1.8</maven .compiler.source>
42
- <maven .compiler.target>1.8</maven .compiler.target>
43
41
<polyglot .dump.pom>pom.xml</polyglot .dump.pom>
44
- <project .build.sourceEncoding>utf -8</project .build.sourceEncoding>
42
+ <project .build.sourceEncoding>UTF -8</project .build.sourceEncoding>
45
43
<source .directory>src</source .directory>
44
+ <target .release>11</target .release>
46
45
<wordcram .basedir>${project.basedir} </wordcram .basedir>
47
46
</properties >
48
47
<dependencies >
@@ -71,6 +70,13 @@ DO NOT MODIFIY - GENERATED CODE
71
70
<finalName >WordCram</finalName >
72
71
<pluginManagement >
73
72
<plugins >
73
+ <plugin >
74
+ <artifactId >maven-compiler-plugin</artifactId >
75
+ <version >3.8.1</version >
76
+ <configuration >
77
+ <release >${target.release} </release >
78
+ </configuration >
79
+ </plugin >
74
80
<plugin >
75
81
<artifactId >maven-jar-plugin</artifactId >
76
82
<version >3.2.0</version >
Original file line number Diff line number Diff line change @@ -9,15 +9,15 @@ Gem::Specification.new do |spec|
9
9
spec . extra_rdoc_files = %w{ README.md LICENSE }
10
10
spec . summary = %q{Updated and extended WordCram library for JRubyArt and propane}
11
11
spec . description = <<-EOS
12
- WordCram library wrapped in a rubygem. Compiled and tested with JRubyArt-1.6.3 and processing-3.5.3
12
+ WordCram library wrapped in a rubygem. Compiled and tested with JRubyArt-2.5.0
13
13
EOS
14
14
spec . licenses = %w{ Apache-2.0 }
15
15
spec . authors = %w{ Dan\ Bernier Jonathan\ Feinberg Martin\ Prout }
16
16
17
17
spec . homepage = 'http://ruby-processing.github.io/WordCram/'
18
18
spec . files = `git ls-files -z` . split ( "\x0 " ) . reject { |f | f . match ( %r{^(test|spec|features)/} ) }
19
19
spec . files << 'lib/WordCram.jar'
20
- spec . files << 'lib/jsoup-1.12 .1.jar'
20
+ spec . files << 'lib/jsoup-1.13 .1.jar'
21
21
spec . require_paths = [ 'lib' ]
22
22
spec . add_development_dependency 'rake' , '~> 12' , '>= 12.0'
23
23
end
You can’t perform that action at this time.
0 commit comments