diff --git a/appengine_war.gradle b/appengine_war.gradle index b6f15a6f0..623be4845 100644 --- a/appengine_war.gradle +++ b/appengine_war.gradle @@ -1,3 +1,17 @@ +// Copyright 2019 The Nomulus Authors. All Rights Reserved. +// +// Licensed 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. + def environments = ['production', 'sandbox', 'alpha', 'crash'] def projects = ['production': 'domain-registry', diff --git a/build.gradle b/build.gradle index aa7196672..c8b47529a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,17 @@ +// Copyright 2019 The Nomulus Authors. All Rights Reserved. +// +// Licensed 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. + buildscript { if (project.disableDependencyLocking.toBoolean() == false) { // Lock buildscript dependencies. diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 3bb7937fd..8228c8ee9 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -1,3 +1,17 @@ +// Copyright 2019 The Nomulus Authors. All Rights Reserved. +// +// Licensed 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. + buildscript { if (rootProject.disableDependencyLocking.toBoolean() == false) { // Lock buildscript dependencies. diff --git a/config/presubmits.py b/config/presubmits.py index 425406663..bb3a4f501 100644 --- a/config/presubmits.py +++ b/config/presubmits.py @@ -76,7 +76,7 @@ PRESUBMITS = { # License check PresubmitCheck( r".*Copyright 20\d{2} The Nomulus Authors\. All Rights Reserved\.", - ("java", "js", "soy", "sql", "py", "sh"), { + ("java", "js", "soy", "sql", "py", "sh", "gradle"), { ".git", "/build/", "/generated/", "node_modules/", "JUnitBackports.java" }, REQUIRED): diff --git a/core/build.gradle b/core/build.gradle index d7af05b6f..7385cfa84 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -1,3 +1,17 @@ +// Copyright 2019 The Nomulus Authors. All Rights Reserved. +// +// Licensed 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. + plugins { id 'java-library' } diff --git a/dependencies.gradle b/dependencies.gradle index 068fd2930..e90375ae7 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,3 +1,17 @@ +// Copyright 2019 The Nomulus Authors. All Rights Reserved. +// +// Licensed 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. + ext { dependencyList = [ 'args4j:args4j:2.0.26', diff --git a/java_common.gradle b/java_common.gradle index 2e0b60c45..0decea3a9 100644 --- a/java_common.gradle +++ b/java_common.gradle @@ -1,3 +1,17 @@ +// Copyright 2019 The Nomulus Authors. All Rights Reserved. +// +// Licensed 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' apply plugin: 'nebula.lint' apply plugin: 'net.ltgt.apt' diff --git a/proxy/build.gradle b/proxy/build.gradle index 859199d8e..4215ffc60 100644 --- a/proxy/build.gradle +++ b/proxy/build.gradle @@ -1,3 +1,17 @@ +// Copyright 2019 The Nomulus Authors. All Rights Reserved. +// +// Licensed 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' createUberJar('deployJar', 'proxy_server', 'google.registry.proxy.ProxyServer') diff --git a/settings.gradle b/settings.gradle index 2ac56240e..d8f1c959a 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,17 @@ +// Copyright 2019 The Nomulus Authors. All Rights Reserved. +// +// Licensed 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. + if (pluginsUrl) { println "Plugins: Using repo $pluginsUrl..." pluginManagement { diff --git a/third_party/build.gradle b/third_party/build.gradle index 84e94541f..26c656e2c 100644 --- a/third_party/build.gradle +++ b/third_party/build.gradle @@ -1,3 +1,17 @@ +// Copyright 2019 The Nomulus Authors. All Rights Reserved. +// +// Licensed 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. + plugins { id 'java-library' } diff --git a/util/build.gradle b/util/build.gradle index b7a32ef25..b83e82fb9 100644 --- a/util/build.gradle +++ b/util/build.gradle @@ -1,3 +1,17 @@ +// Copyright 2019 The Nomulus Authors. All Rights Reserved. +// +// Licensed 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' dependencies {