Skip to content
Snippets Groups Projects
Commit 7dbc2a3a authored by Jens Bendisposto's avatar Jens Bendisposto
Browse files

prepare to push to central

parent 5a651c32
Branches
No related tags found
No related merge requests found
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'eclipse' apply plugin: 'eclipse'
apply plugin: 'maven' apply plugin: 'maven'
apply plugin: 'signing'
project.version = '3.2.9-SNAPSHOT' project.version = '3.2.10'
project.group = 'de.stups' project.group = 'de.hhu.stups'
project.archivesBaseName = "sablecc"
allprojects { allprojects {
sourceCompatibility = 1.5 sourceCompatibility = 1.5
targetCompatibility = 1.5 targetCompatibility = 1.5
} }
repositories { dependencies {
maven { testCompile 'junit:junit:4.8.2'
name "cobra"
url "http://cobra.cs.uni-duesseldorf.de/artifactory/repo"
} }
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
} }
dependencies { task sourcesJar(type: Jar) {
testCompile 'junit:junit:4.8.2' classifier = 'sources'
from sourceSets.main.allSource
} }
task deploy(dependsOn: [jar,test,javadoc], group: 'Build') signing {
sign configurations.archives
}
jar { jar {
manifest { manifest {
attributes 'Main-Class': 'org.sablecc.sablecc.SableCC' attributes 'Main-Class': 'org.sablecc.sablecc.SableCC'
} }
} }
artifacts {
archives javadocJar, sourcesJar
}
task deploy(dependsOn: [jar,test,javadoc], group: 'Build')
uploadArchives {
repositories {
mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
pom.project {
name 'SableCC - Stups fork'
packaging 'jar'
// optionally artifactId can be defined here
description 'This version of SableCC enriches the abstract syntax tree with information about tokens.'
url 'https://github.com/bendisposto/sablecc-stups'
licenses {
license {
name 'GNU Lesser General Public License, Version 2.1'
url 'http://www.gnu.org/licenses/lgpl-2.1.html'
}
}
scm {
connection 'scm:git:git://github.com/bendisposto/sablecc-stups.git'
developerConnection 'scm:git:git@github.com:bendisposto/sablecc-stups.git'
url 'https://github.com/bendisposto/sablecc-stups'
}
developers {
developer {
id 'bendisposto'
name 'Jens Bendisposto'
email 'jens@bendisposto.de'
}
}
}
}
}
}
...@@ -150,7 +150,7 @@ public class Inlining ...@@ -150,7 +150,7 @@ public class Inlining
return inlinedAlternatives; return inlinedAlternatives;
} }
/***************************************************************** /*
boolean containsDoubloons(List aList) boolean containsDoubloons(List aList)
{ {
AAlt[] alts = (AAlt [])aList.toArray(new AAlt[0]); AAlt[] alts = (AAlt [])aList.toArray(new AAlt[0]);
...@@ -178,7 +178,7 @@ public class Inlining ...@@ -178,7 +178,7 @@ public class Inlining
} }
return false; return false;
} }
/*****************************************************************/ */
/* /*
* Inlining of an alternative * Inlining of an alternative
......
...@@ -2,5 +2,5 @@ package org.sablecc.sablecc; ...@@ -2,5 +2,5 @@ package org.sablecc.sablecc;
public class Version public class Version
{ {
public static final String VERSION = "3.2"; public static final String VERSION = "3.2.10";
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment