forked from timyates/mod-jdbc-persistor
-
Notifications
You must be signed in to change notification settings - Fork 0
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
15 changed files
with
337 additions
and
300 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 |
---|---|---|
|
@@ -6,4 +6,5 @@ | |
module.iml | ||
bin | ||
build | ||
out | ||
out | ||
mods |
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 |
---|---|---|
@@ -1,29 +1,15 @@ | ||
# | ||
# Copyright 2011 the original author or authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
groupname=com.bloidonia | ||
artifact=mod-jdbc-persistor | ||
version=2.0.0-SNAPSHOT | ||
|
||
# Package properties | ||
modulename=com.bloidonia.jdbc-persistor | ||
version=1.2 | ||
# Set to true if you want module dependencies to be pulled in and nested inside the module itself | ||
pullInDeps=false | ||
|
||
gradleVersion=1.4 | ||
vertxVersion=2.0.0-SNAPSHOT | ||
toolsVersion=1.0.0-SNAPSHOT | ||
junitVersion=4.10 | ||
|
||
# Compile-time requirements | ||
vertxVersion=1.3.1.final | ||
c3p0Version=0.9.1.2 | ||
dbutilsVersion=1.5 | ||
|
||
# Testing requirements | ||
junitVersion=4.11 | ||
rhinoVersion=1.7R4 | ||
hsqldbVersion=2.2.9 | ||
hsqldbVersion=2.2.9 |
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,99 @@ | ||
/* | ||
* Copyright 2012 the original author or authors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
apply plugin: 'maven' | ||
apply plugin: 'signing' | ||
|
||
if (!hasProperty('sonatypeUsername')) { | ||
ext.sonatypeUsername = '' | ||
} | ||
if (!hasProperty('sonatypePassword')) { | ||
ext.sonatypePassword = '' | ||
} | ||
|
||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
// maven task configuration | ||
|
||
ext.isReleaseVersion = !version.endsWith("SNAPSHOT") | ||
|
||
signing { | ||
required { isReleaseVersion && gradle.taskGraph.hasTask("uploadArchives") } | ||
sign configurations.archives | ||
} | ||
|
||
uploadArchives { | ||
group 'build' | ||
description = "Does a maven deploy of archives artifacts" | ||
|
||
repositories { | ||
mavenDeployer { | ||
setUniqueVersion(false) | ||
|
||
configuration = configurations.archives | ||
|
||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") { | ||
authentication(userName: sonatypeUsername, password: sonatypePassword) | ||
} | ||
|
||
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") { | ||
authentication(userName: sonatypeUsername, password: sonatypePassword) | ||
} | ||
|
||
if (isReleaseVersion) { | ||
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) } | ||
} | ||
|
||
configurePom(pom) | ||
} | ||
} | ||
} | ||
|
||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
// configuration methods | ||
|
||
def configurePom(def pom) { | ||
pom.project { | ||
description 'Vert.x module that provides JavaScript support using Rhino' | ||
inceptionYear '2013' | ||
packaging 'jar' | ||
url 'http://vertx.io' | ||
|
||
developers { | ||
developer { | ||
id 'purplefox' | ||
name 'Tim Fox' | ||
// email '[email protected]' | ||
} | ||
} | ||
|
||
scm { | ||
url 'https://github.com/vert-x/mod-lang-rhino' | ||
} | ||
|
||
licenses { | ||
license { | ||
name 'The Apache Software License, Version 2.0' | ||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
distribution 'repo' | ||
} | ||
} | ||
|
||
properties { | ||
setProperty('project.build.sourceEncoding', 'UTF8') | ||
} | ||
} | ||
} | ||
|
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,5 @@ | ||
|
||
task wrapper(type: Wrapper, description: "Create a Gradle self-download wrapper") { | ||
group = 'Project Setup' | ||
gradleVersion = rootProject.gradleVersion | ||
} |
Binary file not shown.
4 changes: 2 additions & 2 deletions
4
gradle/wrapper.properties → gradle/wrapper/gradle-wrapper.properties
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Tue Aug 07 17:22:15 BST 2012 | ||
#Mon Jan 28 08:12:12 GMT 2013 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=http\://services.gradle.org/distributions/gradle-1.1-bin.zip | ||
distributionUrl=http\://services.gradle.org/distributions/gradle-1.4-bin.zip |
Oops, something went wrong.