In order to preserve existing behaviour for non-boot spring users, create a separate autoreconfiguration jar, used only for boot apps, that uses java-cfenv in place of spring-cloud-connector. A new framework definition at /lib/java_buildpack/framework/spring_boot_auto_reconfiguration.rb would be added.
Update https://github.com/cloudfoundry/java-buildpack/blob/master/lib/java_buildpack/framework/spring_auto_reconfiguration.rb#L43 to ignore boot apps.