peh / grails-babel-asset-pipeline

babel.js transformation for grails-asset-pipeline
7 stars 2 forks source link

1.4.5 does not work with Java 7 #11

Closed robertoschwald closed 7 years ago

robertoschwald commented 7 years ago

It seems the underlying babel-asset-pipeline 1.4.5 Version was compiled using Java 8, therefore when running e.g. in Grails 2.4.4 using Java 7:

ERROR asset.pipeline.AssetSpecLoader - Error loading asset specification asset.pipeline.babel.Es6AssetFile: asset/pipeline/babel/Es6AssetFile : Unsupported major.minor version 52.0 java.lang.UnsupportedClassVersionError: asset/pipeline/babel/Es6AssetFile : Unsupported major.minor version 52.0

peh commented 7 years ago

hey, will check that. pretty sure java8 was not needed in the binary plugin

peh commented 7 years ago

https://github.com/peh/errbuddy-plugins/commit/357b054eb863859d0b666a2ab9b5b5b87f47191e

released babel-asset-pipeline in a special 1.4.5-java7 version as well as grails-babel-asset-pipeline

can you test it please

robertoschwald commented 7 years ago

Works!