github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/builtin/app/java/customization.go (about) 1 package javaapp 2 3 import ( 4 "github.com/hashicorp/otto/helper/compile" 5 "github.com/hashicorp/otto/helper/schema" 6 ) 7 8 type customizations struct { 9 Opts *compile.AppOptions 10 } 11 12 func (c *customizations) processDev(d *schema.FieldData) error { 13 c.Opts.Bindata.Context["gradle_version"] = d.Get("gradle_version") 14 c.Opts.Bindata.Context["maven_version"] = d.Get("maven_version") 15 return nil 16 }