This repository has been archived by the owner on Aug 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
77 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,53 +91,7 @@ task integration(type: Test) { | |
groovydoc { | ||
|
||
} | ||
/* | ||
uploadArchives { | ||
repositories { | ||
mavenDeployer { | ||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | ||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { | ||
authentication(userName: ossrhUsername, password: ossrhPassword) | ||
} | ||
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { | ||
authentication(userName: ossrhUsername, password: ossrhPassword) | ||
} | ||
pom.project { | ||
name 'gServ' | ||
packaging 'jar' | ||
// optionally artifactId can be defined here | ||
description "Framework for REST based services and SPAs in Groovy" | ||
url 'http://github.com/javaconductor/gservExamples' | ||
scm { | ||
connection 'scm:git:[email protected]:javaconductor/gserv.git' | ||
developerConnection 'scm:git:[email protected]:javaconductor/gserv.git' | ||
url '[email protected]:javaconductor/gserv.git' | ||
} | ||
licenses { | ||
license { | ||
name 'The MIT License (MIT)' | ||
url 'http://opensource.org/licenses/MIT' | ||
} | ||
} | ||
developers { | ||
developer { | ||
id 'javaConductor' | ||
name 'Lee Collins' | ||
email '[email protected]' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
*/ | ||
|
||
task sourcesJar(type: Jar, dependsOn: classes) { | ||
classifier = 'sources' | ||
from sourceSets.main.allSource | ||
|
@@ -148,6 +102,18 @@ task groovydocJar(type: Jar, dependsOn: groovydoc) { | |
from groovydoc.destinationDir | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes(["Main-Class": "io.github.javaconductor.gserv.Main"]) | ||
attributes(["Specification-Title": "gServ"]) | ||
attributes(["Specification-Version": "$version"]) | ||
attributes(["Specification-Vendor": "Lee Collins"]) | ||
attributes(["Implementation-Title": "gServ"]) | ||
attributes(["Implementation-Version": "$version"]) | ||
attributes(["Implementation-Vendor": "Lee Collins"]) | ||
} | ||
} | ||
|
||
task standaloneJar(type: Jar, dependsOn: classes) { | ||
from sourceSets.main.output.classesDir | ||
from { | ||
|
@@ -169,13 +135,12 @@ task standaloneJar(type: Jar, dependsOn: classes) { | |
attributes(["Specification-Version": "$version"]) | ||
attributes(["Specification-Vendor": "Lee Collins"]) | ||
attributes(["Implementation-Title": "gServ"]) | ||
attributes(["Implementation-Version": "$version"]) | ||
attributes(["Implementation-Version": "$version-${new Date().time}"]) | ||
attributes(["Implementation-Vendor": "Lee Collins"]) | ||
} | ||
archiveName = "gservApp-${version}.jar" | ||
} | ||
|
||
|
||
task createDist(type: Copy, dependsOn: standaloneJar) { | ||
|
||
from('build/libs') { | ||
|
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Stack trace: | ||
Frame Function Args | ||
00284BC8 610304E2 (00000138, 0000EA60, 000000A4, 00284C18) | ||
00284CD8 610DA8AD (00000000, 00640000, 00284D18, 0028CE64) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,6 @@ class FilterRunner { | |
} finally { | ||
} | ||
return requestContext | ||
|
||
}//switch | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters