Set the version to 1.5.1-SNAPSHOT for release into Sonatype. Add a Gradle build script

git-svn-id: https://j8583.svn.sourceforge.net/svnroot/j8583/j8583@77 db60a039-f72e-0410-b1d2-baa000846441
This commit is contained in:
chochos
2011-06-15 16:21:34 +00:00
parent dd50d4b8a3
commit e06a10c5e4
2 changed files with 41 additions and 11 deletions
+31
View File
@@ -0,0 +1,31 @@
apply plugin:'java'
defaultTasks 'build'
version='1.5.1'
description='Java implementation of the ISO 8583 protocol, focused on making the creation, edition and reading of ISO8583 messages as simple and flexible as possible.'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile 'org.slf4j:slf4j-api:1.6.1'
testCompile 'junit:junit:4.8.2', 'org.slf4j:slf4j-simple:1.6.1'
}
tasks.javadoc.options.use=true
tasks.javadoc.options.links=['http://download.oracle.com/javase/6/docs/api/', 'http://slf4j.org/apidocs/' ]
task javadocJar(type:Jar, dependsOn:'javadoc') {
from javadoc.destinationDir
classifier='javadoc'
}
task sourcesJar(type:Jar) {
from sourceSets.main.allSource
classifier='sources'
}
artifacts {
archives javadocJar
archives sourcesJar
}
+10 -11
View File
@@ -1,9 +1,14 @@
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.solab</groupId>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<groupId>net.sf.j8583</groupId>
<artifactId>j8583</artifactId>
<version>1.5.1</version>
<version>1.5.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>j8583</name>
<description>Java implementation of the ISO 8583 protocol, focused on making the creation, edition and reading of ISO8583 messages as simple and flexible as possible.</description>
@@ -16,9 +21,9 @@
</license>
</licenses>
<scm>
<connection>scm:svn:https://j8583.svn.sourceforge.net/svnroot/j8583</connection>
<developerConnection>scm:svn:https://j8583.svn.sourceforge.net/svnroot/j8583</developerConnection>
<url>http://j8583.svn.sourceforge.net/viewvc/j8583/</url>
<connection>scm:svn:https://j8583.svn.sourceforge.net/svnroot/j8583/j8583</connection>
<developerConnection>scm:svn:https://j8583.svn.sourceforge.net/svnroot/j8583/j8583</developerConnection>
<url>http://j8583.svn.sourceforge.net/viewvc/j8583/j8583</url>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -110,10 +115,4 @@
</plugin>
</plugins>
</build>
<distributionManagement>
<site>
<id>j8583.sf.net</id>
<url>scp://chochos,j8583@shell.sourceforge.net:/home/groups/j/j8/j8583/htdocs</url>
</site>
</distributionManagement>
</project>