| Author | Dave Jarvis <email> |
|---|---|
| Date | 2015-01-05 00:49:19 GMT-0800 |
| Commit | 5b459b4fab46fc90e65854df1249f73d64e118bf |
| Parent | 6e8b039 |
| .~lock.questions.ods# | ||
| +.gradle | ||
| +apply plugin: "java" | ||
| +apply plugin: "application" | ||
| + | ||
| +mainClassName = "to.discuss.Main" | ||
| + | ||
| +sourceSets { | ||
| + main { | ||
| + java { | ||
| + srcDir "source" | ||
| + } | ||
| + | ||
| + resources { | ||
| + srcDir "resources" | ||
| + } | ||
| + } | ||
| +} | ||
| + | ||
| +dependencies { | ||
| + compile "org.eclipse.jetty:jetty-server:9.2.6.v20141205" | ||
| + compile "org.apache.shiro:shiro-core:1.2.3" | ||
| + compile "org.slf4j:slf4j-log4j12:1.7.9" | ||
| +} | ||
| + | ||
| +repositories { | ||
| + maven { | ||
| + url "https://maven.atlassian.com/repository/public/" | ||
| + } | ||
| + | ||
| + flatDir { | ||
| + dirs "lib" | ||
| + } | ||
| +} | ||
| + | ||
| +log4j.rootLogger=DEBUG, CONSOLE | ||
| + | ||
| +log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender | ||
| +log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout | ||
| +log4j.appender.CONSOLE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n | ||
| + | ||
| +package to.discuss; | ||
| + | ||
| +import org.eclipse.jetty.server.Server; | ||
| + | ||
| +public class Main { | ||
| + public static void main( String args[] ) throws Exception { | ||
| + Server server = new Server( 8080 ); | ||
| + server.start(); | ||
| + server.join(); | ||
| + } | ||
| +} | ||
| + | ||
| Delta | 52 lines added, 0 lines removed, 52-line increase |
|---|