File tree Expand file tree Collapse file tree 7 files changed +510
-0
lines changed
src/main/java/com/bahamut1797/smtp Expand file tree Collapse file tree 7 files changed +510
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <classpath >
3+ <classpathentry kind =" src" output =" bin/main" path =" src/main/java" >
4+ <attributes >
5+ <attribute name =" gradle_scope" value =" main" />
6+ <attribute name =" gradle_used_by_scope" value =" main,test" />
7+ </attributes >
8+ </classpathentry >
9+ <classpathentry kind =" src" output =" bin/main" path =" src/main/resources" >
10+ <attributes >
11+ <attribute name =" gradle_scope" value =" main" />
12+ <attribute name =" gradle_used_by_scope" value =" main,test" />
13+ </attributes >
14+ </classpathentry >
15+ <classpathentry kind =" src" output =" bin/test" path =" src/test/java" >
16+ <attributes >
17+ <attribute name =" gradle_scope" value =" test" />
18+ <attribute name =" gradle_used_by_scope" value =" test" />
19+ </attributes >
20+ </classpathentry >
21+ <classpathentry kind =" src" output =" bin/test" path =" src/test/resources" >
22+ <attributes >
23+ <attribute name =" gradle_scope" value =" test" />
24+ <attribute name =" gradle_used_by_scope" value =" test" />
25+ </attributes >
26+ </classpathentry >
27+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7/" />
28+ <classpathentry kind =" con" path =" org.eclipse.buildship.core.gradleclasspathcontainer" />
29+ <classpathentry kind =" output" path =" bin/default" />
30+ </classpath >
Original file line number Diff line number Diff line change 1+ /.gradle
2+ /bin
3+ /build
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <projectDescription >
3+ <name >JavaSMTPService</name >
4+ <comment ></comment >
5+ <projects >
6+ </projects >
7+ <buildSpec >
8+ <buildCommand >
9+ <name >org.eclipse.jdt.core.javabuilder</name >
10+ <arguments >
11+ </arguments >
12+ </buildCommand >
13+ <buildCommand >
14+ <name >org.eclipse.buildship.core.gradleprojectbuilder</name >
15+ <arguments >
16+ </arguments >
17+ </buildCommand >
18+ </buildSpec >
19+ <natures >
20+ <nature >org.eclipse.jdt.core.javanature</nature >
21+ <nature >org.eclipse.buildship.core.gradleprojectnature</nature >
22+ </natures >
23+ </projectDescription >
Original file line number Diff line number Diff line change 1+ connection.project.dir =
2+ eclipse.preferences.version =1
Original file line number Diff line number Diff line change 1+ #
2+ # Thu Jun 20 18:47:21 CDT 2019
3+ org.eclipse.jdt.core.compiler.problem.enumIdentifier =error
4+ org.eclipse.jdt.core.compiler.codegen.targetPlatform =1.7
5+ eclipse.preferences.version =1
6+ org.eclipse.jdt.core.compiler.source =1.7
7+ org.eclipse.jdt.core.compiler.problem.assertIdentifier =error
8+ org.eclipse.jdt.core.compiler.compliance =1.7
Original file line number Diff line number Diff line change 1+ apply plugin : ' java'
2+ apply plugin : ' eclipse'
3+ apply plugin : ' application'
4+
5+ mainClassName = ' com.bahamut1797.smtp.Main'
6+ // JDK 7
7+ sourceCompatibility = 1.7
8+ targetCompatibility = 1.7
9+
10+ repositories {
11+ mavenLocal()
12+ mavenCentral()
13+ maven {
14+ url " http://maven.vaadin.com/vaadin-addons"
15+ url " https://mvnrepository.com/artifact/javax.mail/javax.mail-api"
16+ }
17+ }
18+
19+ dependencies {
20+ // https://mvnrepository.com/artifact/com.sun.mail/javax.mail
21+ compile group : ' com.sun.mail' , name : ' javax.mail' , version : ' 1.6.2'
22+ }
23+
24+ task " create-dirs" {
25+ doLast{
26+ sourceSets* . java. srcDirs* . each { it. mkdirs() }
27+ sourceSets* . resources. srcDirs* . each { it. mkdirs() }
28+ }
29+ }
30+
31+ task fatJar (type : Jar ) {
32+ manifest {
33+ attributes ' Implementation-Title' : ' Java SMTP Service' ,
34+ ' Implementation-Version' : ' 1.0' ,
35+ ' Main-Class' : ' com.bahamut1797.smtp.Main'
36+ }
37+ baseName = project. name + ' -all'
38+ from { configurations. compile. collect { it. isDirectory() ? it : zipTree(it) } }
39+ with jar
40+ }
You can’t perform that action at this time.
0 commit comments