summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYigit Boyar <yboyar@google.com>2014-12-11 15:52:25 -0800
committerYigit Boyar <yboyar@google.com>2014-12-11 15:52:25 -0800
commit3d4bdfeeb2ffd1b2ec8a26abd1f4306295a66a43 (patch)
tree225a84bd48e6c45df604a012cb8aa129406d8828
parent1f90f8c176f5217c32527a647b7c2ab84359ea33 (diff)
downloaddata-binding-3d4bdfeeb2ffd1b2ec8a26abd1f4306295a66a43.tar.gz
add copyright to project files
-rw-r--r--BindingDemo/app/build.gradle16
-rw-r--r--BindingDemo/app/src/main/AndroidManifest.xml16
-rw-r--r--BindingDemo/app/src/main/res/layout/list_item.xml16
-rw-r--r--BindingDemo/app/src/main/res/layout/main_activity.xml16
-rw-r--r--BindingDemo/app/src/main/res/menu/menu_main.xml16
-rw-r--r--BindingDemo/app/src/main/res/values-w820dp/dimens.xml16
-rw-r--r--BindingDemo/app/src/main/res/values/dimens.xml16
-rw-r--r--BindingDemo/app/src/main/res/values/strings.xml16
-rw-r--r--BindingDemo/app/src/main/res/values/styles.xml16
-rw-r--r--BindingDemo/build.gradle16
-rw-r--r--BindingDemo/gradle.properties16
-rw-r--r--BindingDemo/gradle/wrapper/gradle-wrapper.properties16
-rw-r--r--BindingDemo/settings.gradle16
-rw-r--r--build.gradle16
-rw-r--r--compiler/build.gradle16
-rw-r--r--compiler/src/main/java/com/example/databinding/LayoutParser.java16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/ext/list_ext.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/ext/node_ext.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/ext/string_ext.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/main.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/parser/expression_parser.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/parser/expressions.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/renderer/attr_renderer.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/renderer/binding_br_renderer.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/renderer/data_binder_renderer.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/renderer/view_expr_binder_renderer.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/util/Log.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/util/class_analyzer.kt16
-rw-r--r--compiler/src/main/kotlin/com/android/databinding/vo/vo.kt16
-rw-r--r--compiler/src/main/resources/META-INF/gradle-plugins/com.android.databinding.properties16
-rw-r--r--gradle.properties16
-rw-r--r--gradle/wrapper/gradle-wrapper.properties16
-rw-r--r--gradlePlugin/build.gradle16
-rw-r--r--gradlePlugin/src/main/kotlin/plugin.kt16
-rw-r--r--grammerBuilder/build.gradle16
-rw-r--r--grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderBaseListener.java16
-rw-r--r--grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderBaseVisitor.java16
-rw-r--r--grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderLexer.java16
-rw-r--r--grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderListener.java16
-rw-r--r--grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderParser.java16
-rw-r--r--grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderVisitor.java16
-rw-r--r--grammerBuilder/src/main/java/com/android/databinder/parser/Main.java16
-rw-r--r--library/build.gradle16
-rw-r--r--library/src/main/AndroidManifest.xml16
-rw-r--r--library/src/main/java/com/android/databinding/library/BaseObservable.java16
-rw-r--r--library/src/main/java/com/android/databinding/library/DataBinder.java16
-rw-r--r--library/src/main/java/com/android/databinding/library/DataBinderMapper.java16
-rw-r--r--library/src/main/java/com/android/databinding/library/IViewDataBinder.java16
-rw-r--r--library/src/main/java/com/android/databinding/library/Observable.java16
-rw-r--r--library/src/main/java/com/android/databinding/library/ObservableHelper.java16
-rw-r--r--library/src/main/java/com/android/databinding/library/ObservableListener.java16
-rw-r--r--library/src/main/java/com/android/databinding/library/ViewDataBinder.java16
-rw-r--r--settings.gradle16
53 files changed, 848 insertions, 0 deletions
diff --git a/BindingDemo/app/build.gradle b/BindingDemo/app/build.gradle
index c5e740a2..fa31ed02 100644
--- a/BindingDemo/app/build.gradle
+++ b/BindingDemo/app/build.gradle
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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: 'com.android.application'
apply plugin: 'com.birbit.android.databinding'
diff --git a/BindingDemo/app/src/main/AndroidManifest.xml b/BindingDemo/app/src/main/AndroidManifest.xml
index 15e9dd08..d2a806c9 100644
--- a/BindingDemo/app/src/main/AndroidManifest.xml
+++ b/BindingDemo/app/src/main/AndroidManifest.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2014 The Android Open Source Project
+
+ 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.
+ -->
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.birbit.android.bindingdemo" >
diff --git a/BindingDemo/app/src/main/res/layout/list_item.xml b/BindingDemo/app/src/main/res/layout/list_item.xml
index 351db09d..3d945f21 100644
--- a/BindingDemo/app/src/main/res/layout/list_item.xml
+++ b/BindingDemo/app/src/main/res/layout/list_item.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2014 The Android Open Source Project
+
+ 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.
+ -->
+
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
xmlns:bind="http://schemas.android.com/apk/res-auto"
diff --git a/BindingDemo/app/src/main/res/layout/main_activity.xml b/BindingDemo/app/src/main/res/layout/main_activity.xml
index 02513efd..0d42f162 100644
--- a/BindingDemo/app/src/main/res/layout/main_activity.xml
+++ b/BindingDemo/app/src/main/res/layout/main_activity.xml
@@ -1,3 +1,19 @@
+<!--
+ Copyright (C) 2014 The Android Open Source Project
+
+ 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.
+ -->
+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:bind="http://schemas.android.com/apk/res-auto"
xmlns:bind_static="http://schemas.android.com/apk/res-auto"
diff --git a/BindingDemo/app/src/main/res/menu/menu_main.xml b/BindingDemo/app/src/main/res/menu/menu_main.xml
index b1cb9081..ab38265e 100644
--- a/BindingDemo/app/src/main/res/menu/menu_main.xml
+++ b/BindingDemo/app/src/main/res/menu/menu_main.xml
@@ -1,3 +1,19 @@
+<!--
+ Copyright (C) 2014 The Android Open Source Project
+
+ 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.
+ -->
+
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" tools:context=".MainActivity">
diff --git a/BindingDemo/app/src/main/res/values-w820dp/dimens.xml b/BindingDemo/app/src/main/res/values-w820dp/dimens.xml
index 63fc8164..793d18dc 100644
--- a/BindingDemo/app/src/main/res/values-w820dp/dimens.xml
+++ b/BindingDemo/app/src/main/res/values-w820dp/dimens.xml
@@ -1,3 +1,19 @@
+<!--
+ Copyright (C) 2014 The Android Open Source Project
+
+ 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.
+ -->
+
<resources>
<!-- Example customization of dimensions originally defined in res/values/dimens.xml
(such as screen margins) for screens with more than 820dp of available width. This
diff --git a/BindingDemo/app/src/main/res/values/dimens.xml b/BindingDemo/app/src/main/res/values/dimens.xml
index 017b343c..7c360c68 100644
--- a/BindingDemo/app/src/main/res/values/dimens.xml
+++ b/BindingDemo/app/src/main/res/values/dimens.xml
@@ -1,3 +1,19 @@
+<!--
+ Copyright (C) 2014 The Android Open Source Project
+
+ 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.
+ -->
+
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
diff --git a/BindingDemo/app/src/main/res/values/strings.xml b/BindingDemo/app/src/main/res/values/strings.xml
index f9cedad4..ea6f485b 100644
--- a/BindingDemo/app/src/main/res/values/strings.xml
+++ b/BindingDemo/app/src/main/res/values/strings.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2014 The Android Open Source Project
+
+ 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.
+ -->
+
<resources>
<string name="app_name">BindingDemo</string>
diff --git a/BindingDemo/app/src/main/res/values/styles.xml b/BindingDemo/app/src/main/res/values/styles.xml
index 766ab993..00d89fa0 100644
--- a/BindingDemo/app/src/main/res/values/styles.xml
+++ b/BindingDemo/app/src/main/res/values/styles.xml
@@ -1,3 +1,19 @@
+<!--
+ Copyright (C) 2014 The Android Open Source Project
+
+ 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.
+ -->
+
<resources>
<!-- Base application theme. -->
diff --git a/BindingDemo/build.gradle b/BindingDemo/build.gradle
index f4dc3948..ca008638 100644
--- a/BindingDemo/build.gradle
+++ b/BindingDemo/build.gradle
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
diff --git a/BindingDemo/gradle.properties b/BindingDemo/gradle.properties
index 1d3591c8..f60a6343 100644
--- a/BindingDemo/gradle.properties
+++ b/BindingDemo/gradle.properties
@@ -1,3 +1,19 @@
+#
+# Copyright (C) 2014 The Android Open Source Project
+#
+# 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.
+#
+
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
diff --git a/BindingDemo/gradle/wrapper/gradle-wrapper.properties b/BindingDemo/gradle/wrapper/gradle-wrapper.properties
index ffaa281a..ddbd6130 100644
--- a/BindingDemo/gradle/wrapper/gradle-wrapper.properties
+++ b/BindingDemo/gradle/wrapper/gradle-wrapper.properties
@@ -1,3 +1,19 @@
+#
+# Copyright (C) 2014 The Android Open Source Project
+#
+# 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.
+#
+
#Wed Apr 10 15:27:10 PDT 2013
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
diff --git a/BindingDemo/settings.gradle b/BindingDemo/settings.gradle
index e7b4def4..c4656669 100644
--- a/BindingDemo/settings.gradle
+++ b/BindingDemo/settings.gradle
@@ -1 +1,17 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
include ':app'
diff --git a/build.gradle b/build.gradle
index a672313b..d4770893 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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'
sourceCompatibility = 1.7
diff --git a/compiler/build.gradle b/compiler/build.gradle
index eb1796fc..4339b9c4 100644
--- a/compiler/build.gradle
+++ b/compiler/build.gradle
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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: "kotlin"
apply plugin: 'maven'
diff --git a/compiler/src/main/java/com/example/databinding/LayoutParser.java b/compiler/src/main/java/com/example/databinding/LayoutParser.java
index 0b20765b..ed7fa6bc 100644
--- a/compiler/src/main/java/com/example/databinding/LayoutParser.java
+++ b/compiler/src/main/java/com/example/databinding/LayoutParser.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.example.databinding;
import com.android.databinding.util.ClassAnalyzer;
diff --git a/compiler/src/main/kotlin/com/android/databinding/ext/list_ext.kt b/compiler/src/main/kotlin/com/android/databinding/ext/list_ext.kt
index 087dec2c..5d3ab163 100644
--- a/compiler/src/main/kotlin/com/android/databinding/ext/list_ext.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/ext/list_ext.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.ext
import com.android.databinding.ext.toCamelCase
diff --git a/compiler/src/main/kotlin/com/android/databinding/ext/node_ext.kt b/compiler/src/main/kotlin/com/android/databinding/ext/node_ext.kt
index c52bec71..8da13bfa 100644
--- a/compiler/src/main/kotlin/com/android/databinding/ext/node_ext.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/ext/node_ext.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.ext
import org.w3c.dom.Node
diff --git a/compiler/src/main/kotlin/com/android/databinding/ext/string_ext.kt b/compiler/src/main/kotlin/com/android/databinding/ext/string_ext.kt
index e12b9646..2c9fcc1e 100644
--- a/compiler/src/main/kotlin/com/android/databinding/ext/string_ext.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/ext/string_ext.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.ext
import com.android.databinding.ext.joinToCamelCase
diff --git a/compiler/src/main/kotlin/com/android/databinding/main.kt b/compiler/src/main/kotlin/com/android/databinding/main.kt
index e22824ea..70d69d6e 100644
--- a/compiler/src/main/kotlin/com/android/databinding/main.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/main.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding
import org.w3c.dom.Document
diff --git a/compiler/src/main/kotlin/com/android/databinding/parser/expression_parser.kt b/compiler/src/main/kotlin/com/android/databinding/parser/expression_parser.kt
index bd3d0c42..89a5a063 100644
--- a/compiler/src/main/kotlin/com/android/databinding/parser/expression_parser.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/parser/expression_parser.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.parser
import org.antlr.v4.runtime.ANTLRInputStream
diff --git a/compiler/src/main/kotlin/com/android/databinding/parser/expressions.kt b/compiler/src/main/kotlin/com/android/databinding/parser/expressions.kt
index 196dc434..67d31090 100644
--- a/compiler/src/main/kotlin/com/android/databinding/parser/expressions.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/parser/expressions.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.parser
import kotlin.properties.Delegates
diff --git a/compiler/src/main/kotlin/com/android/databinding/renderer/attr_renderer.kt b/compiler/src/main/kotlin/com/android/databinding/renderer/attr_renderer.kt
index 8d9fb93a..da9b33f8 100644
--- a/compiler/src/main/kotlin/com/android/databinding/renderer/attr_renderer.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/renderer/attr_renderer.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
/**
* Created by yboyar on 11/10/14.
*/
diff --git a/compiler/src/main/kotlin/com/android/databinding/renderer/binding_br_renderer.kt b/compiler/src/main/kotlin/com/android/databinding/renderer/binding_br_renderer.kt
index 3dda5740..a8ca60f3 100644
--- a/compiler/src/main/kotlin/com/android/databinding/renderer/binding_br_renderer.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/renderer/binding_br_renderer.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
/**
* Created by yboyar on 11/9/14.
*/
diff --git a/compiler/src/main/kotlin/com/android/databinding/renderer/data_binder_renderer.kt b/compiler/src/main/kotlin/com/android/databinding/renderer/data_binder_renderer.kt
index 0e69df9d..0e18c1ec 100644
--- a/compiler/src/main/kotlin/com/android/databinding/renderer/data_binder_renderer.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/renderer/data_binder_renderer.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
/**
* Created by yboyar on 11/8/14.
*/
diff --git a/compiler/src/main/kotlin/com/android/databinding/renderer/view_expr_binder_renderer.kt b/compiler/src/main/kotlin/com/android/databinding/renderer/view_expr_binder_renderer.kt
index 7c8586ba..dfe198b9 100644
--- a/compiler/src/main/kotlin/com/android/databinding/renderer/view_expr_binder_renderer.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/renderer/view_expr_binder_renderer.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.renderer
import com.android.databinding.renderer.BrRenderer
import com.android.databinding.ext.toCamelCase
diff --git a/compiler/src/main/kotlin/com/android/databinding/util/Log.kt b/compiler/src/main/kotlin/com/android/databinding/util/Log.kt
index 111d1d54..e8fe446d 100644
--- a/compiler/src/main/kotlin/com/android/databinding/util/Log.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/util/Log.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.util
object Log {
diff --git a/compiler/src/main/kotlin/com/android/databinding/util/class_analyzer.kt b/compiler/src/main/kotlin/com/android/databinding/util/class_analyzer.kt
index 4de47650..50b65f15 100644
--- a/compiler/src/main/kotlin/com/android/databinding/util/class_analyzer.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/util/class_analyzer.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.util
import java.net.URLClassLoader
diff --git a/compiler/src/main/kotlin/com/android/databinding/vo/vo.kt b/compiler/src/main/kotlin/com/android/databinding/vo/vo.kt
index 04814f29..6789bd9e 100644
--- a/compiler/src/main/kotlin/com/android/databinding/vo/vo.kt
+++ b/compiler/src/main/kotlin/com/android/databinding/vo/vo.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.vo
import com.android.databinding.parser.ExprModel
diff --git a/compiler/src/main/resources/META-INF/gradle-plugins/com.android.databinding.properties b/compiler/src/main/resources/META-INF/gradle-plugins/com.android.databinding.properties
index ada6a54e..d09f5065 100644
--- a/compiler/src/main/resources/META-INF/gradle-plugins/com.android.databinding.properties
+++ b/compiler/src/main/resources/META-INF/gradle-plugins/com.android.databinding.properties
@@ -1 +1,17 @@
+#
+# Copyright (C) 2014 The Android Open Source Project
+#
+# 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.
+#
+
implementation-class=com.android.databinding.DataBinderPlugin \ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
index e9779a3b..37623e8f 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,3 +1,19 @@
+#
+# Copyright (C) 2014 The Android Open Source Project
+#
+# 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.
+#
+
org.gradle.daemon=true
#org.gradle.fork=true
org.gradle.jvmargs=-XX:MaxPermSize=512m -Xmx1024m -Dfile.encoding=UTF-8 \ No newline at end of file
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 43e28985..37c1f85b 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,3 +1,19 @@
+#
+# Copyright (C) 2014 The Android Open Source Project
+#
+# 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.
+#
+
#Tue Nov 18 17:13:29 PST 2014
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
diff --git a/gradlePlugin/build.gradle b/gradlePlugin/build.gradle
index 9219bfbf..f7f13a4a 100644
--- a/gradlePlugin/build.gradle
+++ b/gradlePlugin/build.gradle
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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: "kotlin"
apply plugin: 'maven'
diff --git a/gradlePlugin/src/main/kotlin/plugin.kt b/gradlePlugin/src/main/kotlin/plugin.kt
index 55fa214b..2e94839d 100644
--- a/gradlePlugin/src/main/kotlin/plugin.kt
+++ b/gradlePlugin/src/main/kotlin/plugin.kt
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding
import org.gradle.api.Plugin
diff --git a/grammerBuilder/build.gradle b/grammerBuilder/build.gradle
index d7937297..fe54422a 100644
--- a/grammerBuilder/build.gradle
+++ b/grammerBuilder/build.gradle
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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:'application'
apply plugin: 'maven'
diff --git a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderBaseListener.java b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderBaseListener.java
index 51f2fee3..200137f0 100644
--- a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderBaseListener.java
+++ b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderBaseListener.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
// Generated from DataBinder.g4 by ANTLR 4.4
package com.android.databinding;
diff --git a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderBaseVisitor.java b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderBaseVisitor.java
index 83551622..61ce6d9e 100644
--- a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderBaseVisitor.java
+++ b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderBaseVisitor.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
// Generated from DataBinder.g4 by ANTLR 4.4
package com.android.databinding;
import org.antlr.v4.runtime.Token;
diff --git a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderLexer.java b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderLexer.java
index a0d70a82..043eda1d 100644
--- a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderLexer.java
+++ b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderLexer.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
// Generated from DataBinder.g4 by ANTLR 4.4
package com.android.databinding;
import org.antlr.v4.runtime.Lexer;
diff --git a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderListener.java b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderListener.java
index 12adab77..91227415 100644
--- a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderListener.java
+++ b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderListener.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
// Generated from DataBinder.g4 by ANTLR 4.4
package com.android.databinding;
import org.antlr.v4.runtime.Token;
diff --git a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderParser.java b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderParser.java
index a4d306e6..a6b4d3c4 100644
--- a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderParser.java
+++ b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderParser.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
// Generated from DataBinder.g4 by ANTLR 4.4
package com.android.databinding;
import org.antlr.v4.runtime.atn.*;
diff --git a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderVisitor.java b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderVisitor.java
index 148188e5..c4a39800 100644
--- a/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderVisitor.java
+++ b/grammerBuilder/src/main/java-gen/com/android/databinding/DataBinderVisitor.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
// Generated from DataBinder.g4 by ANTLR 4.4
package com.android.databinding;
import org.antlr.v4.runtime.Token;
diff --git a/grammerBuilder/src/main/java/com/android/databinder/parser/Main.java b/grammerBuilder/src/main/java/com/android/databinder/parser/Main.java
index 861289b0..51c40f52 100644
--- a/grammerBuilder/src/main/java/com/android/databinder/parser/Main.java
+++ b/grammerBuilder/src/main/java/com/android/databinder/parser/Main.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinder.parser;
import org.antlr.v4.runtime.ANTLRInputStream;
diff --git a/library/build.gradle b/library/build.gradle
index a5b9cec0..4ed3de8a 100644
--- a/library/build.gradle
+++ b/library/build.gradle
@@ -1,4 +1,20 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
diff --git a/library/src/main/AndroidManifest.xml b/library/src/main/AndroidManifest.xml
index 77d734f3..8596caf8 100644
--- a/library/src/main/AndroidManifest.xml
+++ b/library/src/main/AndroidManifest.xml
@@ -1,3 +1,19 @@
+<!--
+ Copyright (C) 2014 The Android Open Source Project
+
+ 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.
+ -->
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.databinding.library">
diff --git a/library/src/main/java/com/android/databinding/library/BaseObservable.java b/library/src/main/java/com/android/databinding/library/BaseObservable.java
index 1b4b6a7e..d617f709 100644
--- a/library/src/main/java/com/android/databinding/library/BaseObservable.java
+++ b/library/src/main/java/com/android/databinding/library/BaseObservable.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.library;
import java.util.concurrent.CopyOnWriteArraySet;
diff --git a/library/src/main/java/com/android/databinding/library/DataBinder.java b/library/src/main/java/com/android/databinding/library/DataBinder.java
index 3241cd86..ed9ce668 100644
--- a/library/src/main/java/com/android/databinding/library/DataBinder.java
+++ b/library/src/main/java/com/android/databinding/library/DataBinder.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.library;
import android.content.Context;
diff --git a/library/src/main/java/com/android/databinding/library/DataBinderMapper.java b/library/src/main/java/com/android/databinding/library/DataBinderMapper.java
index 60fe165f..fd863092 100644
--- a/library/src/main/java/com/android/databinding/library/DataBinderMapper.java
+++ b/library/src/main/java/com/android/databinding/library/DataBinderMapper.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.library;
import android.view.View;
diff --git a/library/src/main/java/com/android/databinding/library/IViewDataBinder.java b/library/src/main/java/com/android/databinding/library/IViewDataBinder.java
index 9f3adcad..7071bd82 100644
--- a/library/src/main/java/com/android/databinding/library/IViewDataBinder.java
+++ b/library/src/main/java/com/android/databinding/library/IViewDataBinder.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.library;
import android.view.View;
diff --git a/library/src/main/java/com/android/databinding/library/Observable.java b/library/src/main/java/com/android/databinding/library/Observable.java
index ad433888..bdec3451 100644
--- a/library/src/main/java/com/android/databinding/library/Observable.java
+++ b/library/src/main/java/com/android/databinding/library/Observable.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.library;
/**
diff --git a/library/src/main/java/com/android/databinding/library/ObservableHelper.java b/library/src/main/java/com/android/databinding/library/ObservableHelper.java
index 78b4755f..a5ec6e3e 100644
--- a/library/src/main/java/com/android/databinding/library/ObservableHelper.java
+++ b/library/src/main/java/com/android/databinding/library/ObservableHelper.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.library;
import java.util.concurrent.CopyOnWriteArraySet;
diff --git a/library/src/main/java/com/android/databinding/library/ObservableListener.java b/library/src/main/java/com/android/databinding/library/ObservableListener.java
index 3fa618dd..3baad1bf 100644
--- a/library/src/main/java/com/android/databinding/library/ObservableListener.java
+++ b/library/src/main/java/com/android/databinding/library/ObservableListener.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.library;
/**
diff --git a/library/src/main/java/com/android/databinding/library/ViewDataBinder.java b/library/src/main/java/com/android/databinding/library/ViewDataBinder.java
index ad7858a6..f1a3bf50 100644
--- a/library/src/main/java/com/android/databinding/library/ViewDataBinder.java
+++ b/library/src/main/java/com/android/databinding/library/ViewDataBinder.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
package com.android.databinding.library;
import android.util.SparseIntArray;
diff --git a/settings.gradle b/settings.gradle
index 3f3063f0..dda84f91 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,3 +1,19 @@
+/*
+ * Copyright (C) 2014 The Android Open Source Project
+ *
+ * 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.
+ */
+
rootProject.name = 'KDataBinder'
include ':grammerBuilder'