aboutsummaryrefslogtreecommitdiffstats
path: root/demo_gradle/api
diff options
context:
space:
mode:
authorStix <stix@phcn.de>2015-03-01 17:24:43 +0100
committerStix <stix@phcn.de>2015-03-01 17:24:43 +0100
commit0b3ac7fa749e188abbbfd21a550183bfcbbcb8f3 (patch)
treec8a07bf4ef7957e50182e99d8d43fd721f8556cb /demo_gradle/api
parent07d115c456266ba5c0a83e393927e4264c2ff160 (diff)
downloadpf4j-0b3ac7fa749e188abbbfd21a550183bfcbbcb8f3.tar.gz
pf4j-0b3ac7fa749e188abbbfd21a550183bfcbbcb8f3.zip
added base files
Diffstat (limited to 'demo_gradle/api')
-rw-r--r--demo_gradle/api/.gitignore1
-rw-r--r--demo_gradle/api/build.gradle5
-rw-r--r--demo_gradle/api/src/main/java/ro/fortsoft/pf4j/demo/api/Greeting.java24
3 files changed, 30 insertions, 0 deletions
diff --git a/demo_gradle/api/.gitignore b/demo_gradle/api/.gitignore
new file mode 100644
index 0000000..378eac2
--- /dev/null
+++ b/demo_gradle/api/.gitignore
@@ -0,0 +1 @@
+build
diff --git a/demo_gradle/api/build.gradle b/demo_gradle/api/build.gradle
new file mode 100644
index 0000000..a77fb9d
--- /dev/null
+++ b/demo_gradle/api/build.gradle
@@ -0,0 +1,5 @@
+dependencies {
+ compile 'ro.fortsoft.pf4j:pf4j:0.4'
+ compile 'org.apache.commons:commons-lang3:3.0'
+ testCompile group: 'junit', name: 'junit', version: '4.+'
+} \ No newline at end of file
diff --git a/demo_gradle/api/src/main/java/ro/fortsoft/pf4j/demo/api/Greeting.java b/demo_gradle/api/src/main/java/ro/fortsoft/pf4j/demo/api/Greeting.java
new file mode 100644
index 0000000..9a700c2
--- /dev/null
+++ b/demo_gradle/api/src/main/java/ro/fortsoft/pf4j/demo/api/Greeting.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2012 Decebal Suiu
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with
+ * the License. You may obtain a copy of the License in the LICENSE file, or 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 ro.fortsoft.pf4j.demo.api;
+
+import ro.fortsoft.pf4j.ExtensionPoint;
+
+/**
+ * @author Decebal Suiu
+ */
+public interface Greeting extends ExtensionPoint {
+
+ public String getGreeting();
+
+}