Add ASF license to gradle files that broke Travis build (#241)

diff --git a/java-local/build.gradle b/java-local/build.gradle
index adb351c..37fd847 100644
--- a/java-local/build.gradle
+++ b/java-local/build.gradle
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 apply plugin: 'java'
 
 repositories {
@@ -22,4 +39,3 @@
     configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
   }
 }
-
diff --git a/java-local/settings.gradle b/java-local/settings.gradle
index 4ba1597..a523167 100644
--- a/java-local/settings.gradle
+++ b/java-local/settings.gradle
@@ -1,11 +1,18 @@
 /*
- * This settings file was generated by the Gradle 'init' task.
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
  *
- * The settings file is used to specify which projects to include in your build.
- * In a single project build this file can be empty or even removed.
+ *     http://www.apache.org/licenses/LICENSE-2.0
  *
- * Detailed information about configuring a multi-project build in Gradle can be found
- * in the user guide at https://docs.gradle.org/4.3.1/userguide/multi_project_builds.html
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
  */
 
 /*