update oxygen config
fix the gradle build to make a single mediagate jar