diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..009a874 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM swipl:8.5.5 + +RUN mkdir /app +COPY make_exe.sh *.pl /app/ + + +WORKDIR /app + +RUN /app/make_exe.sh + +CMD /app/owl_to_ace.exe -httpserver -port 5123 + +EXPOSE 5123 diff --git a/java/.gitignore b/java/.gitignore new file mode 100644 index 0000000..567609b --- /dev/null +++ b/java/.gitignore @@ -0,0 +1 @@ +build/ diff --git a/java/build.gradle.kts b/java/build.gradle.kts new file mode 100644 index 0000000..97e8cf6 --- /dev/null +++ b/java/build.gradle.kts @@ -0,0 +1,39 @@ +plugins { + java +} + +group = "ch.uzh.ifi.attempto.owl" +version = "20110612" + +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} + +dependencies { + implementation("commons-logging:commons-logging:1.1") + implementation("org.apache.httpcomponents:httpclient:4.1.1") + implementation("org.apache.httpcomponents:httpcore:4.1.1") + + testImplementation("junit:junit:4.5") +} + +repositories { + mavenCentral() +} + + +sourceSets { + main { + java { + srcDir("src") + } + } + + test { + java { + srcDir("test") + } + } +} + diff --git a/java/settings.gradle.kts b/java/settings.gradle.kts new file mode 100644 index 0000000..f41b791 --- /dev/null +++ b/java/settings.gradle.kts @@ -0,0 +1 @@ +rootProject.name = "owl-verbalizer"