aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp21
l---------LICENSE1
-rw-r--r--METADATA17
-rw-r--r--MODULE_LICENSE_APACHE20
l---------NOTICE1
-rw-r--r--OWNERS3
6 files changed, 43 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..7c123f7
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,21 @@
+// Copyright 2018 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.
+//
+
+java_library_host {
+ name: "javapoet",
+ srcs: ["src/main/java/**/*.java"],
+}
+
+// TODO(b/19776637): Add java_test_host
diff --git a/LICENSE b/LICENSE
new file mode 120000
index 0000000..85de3d4
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1 @@
+LICENSE.txt \ No newline at end of file
diff --git a/METADATA b/METADATA
new file mode 100644
index 0000000..3d5fab2
--- /dev/null
+++ b/METADATA
@@ -0,0 +1,17 @@
+name: "JavaPoet"
+description:
+ "A Java API for generating .java source files"
+
+third_party {
+ url {
+ type: HOMEPAGE
+ value: "https://github.com/square/javapoet"
+ }
+ url {
+ type: GIT
+ value: "https://github.com/square/javapoet.git"
+ }
+ version: "1.11.1"
+ last_upgrade_date { year: 2018 month: 11 day: 19 }
+}
+
diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/MODULE_LICENSE_APACHE2
diff --git a/NOTICE b/NOTICE
new file mode 120000
index 0000000..7a694c9
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1 @@
+LICENSE \ No newline at end of file
diff --git a/OWNERS b/OWNERS
new file mode 100644
index 0000000..231f4c9
--- /dev/null
+++ b/OWNERS
@@ -0,0 +1,3 @@
+alanv@google.com
+ashleyrose@google.com
+nickanthony@google.com