aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick-core/build.gradle2
-rw-r--r--juick-server/build.gradle2
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/NewMessage.java1
3 files changed, 2 insertions, 3 deletions
diff --git a/juick-core/build.gradle b/juick-core/build.gradle
index a31a52b0..986d5b48 100644
--- a/juick-core/build.gradle
+++ b/juick-core/build.gradle
@@ -1,4 +1,4 @@
-apply plugin: 'java'
+apply plugin: 'java-library'
apply plugin: 'com.github.ben-manes.versions'
dependencies {
diff --git a/juick-server/build.gradle b/juick-server/build.gradle
index 3febf08f..5305e7dc 100644
--- a/juick-server/build.gradle
+++ b/juick-server/build.gradle
@@ -1,4 +1,4 @@
-apply plugin: 'java'
+apply plugin: 'java-library'
apply plugin: 'war'
apply plugin: 'com.github.ben-manes.versions'
diff --git a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java
index d23544ba..4de4f5e9 100644
--- a/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java
+++ b/juick-www/src/main/java/com/juick/www/controllers/NewMessage.java
@@ -317,7 +317,6 @@ public class NewMessage {
}
@PostMapping("/comment")
- @ResponseBody
public String doPostComment(
@RequestParam(required = false, defaultValue = "0") Integer mid,
@RequestParam(required = false, defaultValue = "0") Integer rid,