Commit de808d64 authored by Jesper Öqvist's avatar Jesper Öqvist
Browse files

Release 8.1.0

parent 88bcade0
......@@ -42,6 +42,8 @@
/.project
/.settings/
*.asc
# vim
*.swp
......
2017-12-30 Version 8.1.0
* Many compatibility bug fixes.
* Type inference improvements.
* Pretty-printing improvements.
* Many attributes were renamed, removed, added, or redesigned.
* Stack Map Frames bytecode attributes are now generated by all Java 6+ backends.
* The Java 6 backend now outputs bytecode version 50 (was 49).
* The Java 7 backend now outputs bytecode version 51 (was 49).
* The Java 8 backend now outputs bytecode version 52 (was 49).
* The AbstractDot node type has been removed.
* Removed several side effects in attributes. Static semantic error checking
should now be mostly well-defined with respect to attribute purity and
circularity.
* Accessor methods are now generated by NTAs, replacing an imperative AST
transformation.
* Removed the FieldDecl list rewrite. Multiple field declarations are now
handled by using NTAs.
* Updated to build with JastAdd 2.2.2.
* Circular NTAs are now used as the rewrite implementation, for safer
rewrite evaluation.
* Fixed order dependencies in name classification rewrites.
* Replaced imperative enclosing variables transformation with on-demand
generation using NTAs during code generation.
* Replaced enum index transformations by using NTAs instead.
* Bridge methods are now generated on demand using NTAs, instead of using
imperative AST transformations.
* Replaced implicit enum member rewrites by NTAs.
* Replaced enum constructor transformation by NTAs.
2017-11-28 Jesper Öqvist <jesper.oqvist@cs.lth.se>
* Rewrote numeric literal handling in the Java 7 module.
......
......@@ -11,10 +11,15 @@ repositories {
defaultTasks 'jar'
project.version = getVersion()
project.group = 'org.extendj'
println "Building ExtendJ version ${project.version}"
gradle.taskGraph.whenReady { graph ->
def theVersion = getVersion()
println "Building ExtendJ version ${theVersion}"
version = theVersion
allprojects {
group = 'org.extendj'
version = theVersion
}
}
/** Helper function to run a command. Returns the command output if the command succeeded. */
def tryCommand(List command, boolean failOnError = false) {
......@@ -65,14 +70,9 @@ subprojects {
apply plugin: 'maven'
apply plugin: 'signing'
//project.version = '8.2.0'
version = rootProject.version
group = rootProject.group
mainClassName = 'org.extendj.JavaCompiler'
sourceCompatibility = '1.6'
targetCompatibility = '1.6'
sourceCompatibility = targetCompatibility = '1.6'
sourceSets {
main.java {
......@@ -95,16 +95,14 @@ subprojects {
from sourceSets.main.allSource
}
/*
TODO:
task javadocJar(type: Jar) {
// We generate this empty Jar to satisfy sonatype.
// We have our own generated documentation at https://extendj.org/doc2/
task fakeJavadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
*/
artifacts {
archives sourcesJar
archives fakeJavadocJar, sourcesJar
}
processResources.dependsOn 'updateVersionString'
......@@ -128,6 +126,60 @@ subprojects {
}
}
signing {
// Require OSSRH credentials for signing artifacts:
required { project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword') }
sign configurations.archives
}
uploadArchives {
repositories.mavenDeployer {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2') {
if (project.hasProperty('ossrhUsername')) {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
}
snapshotRepository(url: 'https://oss.sonatype.org/content/repositories/snapshots') {
if (project.hasProperty('ossrhUsername')) {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
}
pom.project {
name 'ExtendJ'
packaging 'jar'
description 'Extensible Java Compiler'
url 'https://extendj.org'
organization {
name 'ExtendJ Committers'
url 'https://extendj.org'
}
licenses {
license {
name 'Modified BSD License'
url 'http://opensource.org/licenses/BSD-3-Clause'
distribution 'repo'
}
}
developers {
developer {
name 'Torbjörn Ekman'
}
developer {
name 'Jesper Öqvist'
email 'jesper.oqvist@cs.lth.se'
}
}
scm {
connection 'scm:git:https://bitbucket.org/extendj/extendj.git'
url 'https://bitbucket.org/extendj/extendj'
}
}
}
}
}
// Set the Gradle wrapper version:
......
#Tue, 20 Oct 2015 18:01:43 +0200
version=8.0.1
#Sat Dec 30 15:28:32 CET 2017
version=8.1.0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment