Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

55 lines (45 sloc) 2.124 kb
repositories.remote << 'http://repo1.maven.org/maven2'
repositories.remote << 'http://scala-tools.org/repo-releases'
repositories.remote << 'http://scala-tools.org/repo-snapshots'
upload_to = 'scala_tools_releases'
#upload_to = 'scala_tools_snapshots'
#upload_to = 'silo'
url, user, pass = Buildr.settings.user[upload_to].values_at('url', 'user', 'pass')
repositories.release_to = { :url => url, :username => user, :password => pass }
VERSION_NUMBER = '0.9.2'
desc 'The pegdown project'
define 'pegdown' do
project.version = VERSION_NUMBER
project.group = 'org.pegdown'
manifest['Built-By'] = 'Mathias'
manifest['Specification-Title'] = 'pegdown'
manifest['Specification-Version'] = VERSION_NUMBER
manifest['Specification-Vendor'] = 'pegdown.org'
manifest['Implementation-Title'] = 'pegdown'
manifest['Implementation-Version'] = "#{VERSION_NUMBER}"
manifest['Implementation-Vendor'] = 'pegdown.org'
manifest['Bundle-License'] = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
manifest['Bundle-Version'] = VERSION_NUMBER
manifest['Bundle-Description'] = 'pegdown, a Java 1.5+ library providing a clean and lightweight markdown processor'
manifest['Bundle-Name'] = 'pegdown'
manifest['Bundle-DocURL'] = 'http://www.pegdown.org'
manifest['Bundle-Vendor'] = 'pegdown.org'
manifest['Bundle-SymbolicName'] = 'org.pegdown'
meta_inf << file('NOTICE')
PARBOILED_VERSION = '0.11.1'
PARBOILED = [
"org.parboiled:parboiled-core:jar:#{PARBOILED_VERSION}",
"org.parboiled:parboiled-core:jar:sources:#{PARBOILED_VERSION}",
transitive("org.parboiled:parboiled-java:jar:#{PARBOILED_VERSION}"),
"org.parboiled:parboiled-java:jar:sources:#{PARBOILED_VERSION}"
]
JTIDY = "net.sf.jtidy:jtidy:jar:r938"
compile.with PARBOILED
compile.using :deprecation => true, :target => '1.5', :other => ['-encoding', 'UTF-8'], :lint=> 'all'
test.with JTIDY
test.using :testng
doc.using :windowtitle=>"pegdown #{VERSION_NUMBER} API"
package(:jar).pom.from file('pom.xml')
package :sources
package :javadoc
end
Jump to Line
Something went wrong with that request. Please try again.