Skip to content

Commit

Permalink
Make tangram plugin in gradle plusing repository jdk 1.7 compatible a…
Browse files Browse the repository at this point in the history
…gain
  • Loading branch information
mgoellnitz committed May 5, 2016
1 parent ba05ec9 commit 3b60e2d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions buildSrc/build.gradle
Expand Up @@ -38,7 +38,15 @@ apply plugin: 'com.jfrog.artifactory'

defaultTasks 'clean', 'publishToMavenLocal'

version '1.1.1'
version '1.1.2'

sourceCompatibility = 1.7
targetCompatibility = 1.7

def bootClasspathStr = "${project.hasProperty('jdk') ? jdk : System.env.JAVA_HOME}/jre/lib/rt.jar"
project.tasks.withType(AbstractCompile, { AbstractCompile ac ->
ac.options.bootClasspath = bootClasspathStr
})

String[] roots = ["${project.projectDir}/src/main/groovy"]
def versions = new GroovyScriptEngine(roots).loadScriptByName('org/tangram/gradle/plugin/TangramVersions.groovy').newInstance()
Expand Down Expand Up @@ -121,7 +129,7 @@ publishing {
pluginBundle {
website = 'https://github.com/mgoellnitz/tangram/'
vcsUrl = 'https://github.com/mgoellnitz/tangram/'
description = 'Generic JPA, JDO, EBean byte code transformation plugin, webapp overlay helper, and minifying plugin developed for Tangram - Verson 1.1.1 is again JDK 1.7 compatible'
description = 'Generic JPA, JDO, EBean byte code transformation plugin, webapp overlay helper, and minifying plugin developed for Tangram - Verson 1.1.2 is again JDK 1.7 compatible'
tags = ['tangram', 'jdo', 'jpa', 'ebean', 'datanucleus', 'eclipselink', 'hibernate', 'openjpa', 'overlay', 'minify']

plugins {
Expand Down
2 changes: 1 addition & 1 deletion commons.gradle
Expand Up @@ -26,7 +26,7 @@ import org.gradle.api.internal.component.SoftwareComponentInternal
import org.gradle.api.tasks.compile.AbstractCompile
import groovy.util.Node

version = '1.1.0'
version = '1.1.2'

def release = project.hasProperty('release')

Expand Down

0 comments on commit 3b60e2d

Please sign in to comment.