This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from paulerickson/boot
Change all the things
- Loading branch information
Showing
31 changed files
with
355 additions
and
697 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 |
---|---|---|
|
@@ -14,3 +14,8 @@ hs_err_pid* | |
.classpath | ||
.project | ||
.settings | ||
.gradle | ||
build/ | ||
.idea/ | ||
*.swp | ||
*.iml |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,88 @@ | ||
buildscript { | ||
repositories { jcenter() } | ||
dependencies { classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1' } | ||
} | ||
|
||
subprojects { | ||
|
||
group = 'edu.wisc.my.restproxy' | ||
version = '2.1.0-SNAPSHOT' | ||
|
||
repositories { | ||
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } | ||
maven { url "https://code.doit.wisc.edu/maven/content/repositories/public-releases/" } | ||
maven { url "https://code.doit.wisc.edu/maven/content/repositories/uw-releases/" } | ||
maven { url "http://repo.maven.apache.org/maven2" } | ||
} | ||
|
||
apply plugin: 'groovy' | ||
apply plugin: 'com.bmuschko.nexus' | ||
|
||
// Nexus deploy configuration | ||
nexus { | ||
sign = true | ||
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/' | ||
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots/' | ||
} | ||
|
||
extraArchive { | ||
javadoc = true | ||
sources = true | ||
tests = true | ||
} | ||
|
||
modifyPom { | ||
project { | ||
url 'https://github.com/UW-Madison-DoIT/rest-proxy' | ||
inceptionYear '2015' | ||
scm { | ||
url 'https://github.com/UW-Madison-DoIT/rest-proxy' | ||
connection 'scm:https://github.com/UW-Madison-DoIT/rest-proxy.git' | ||
developerConnection 'scm:git://github.com/UW-Madison-DoIT/rest-proxy.git' | ||
} | ||
licenses { | ||
license { | ||
name 'The Apache Software License, Version 2.0' | ||
url 'http://www.apache.org/licenses/LICENSE-2.0.txt' | ||
distribution 'repo' | ||
} | ||
} | ||
developers { | ||
developer { | ||
name 'My UW Dev Team' | ||
email '[email protected]' | ||
url 'https://github.com/UW-Madison-DoIT' | ||
organization 'UW-Madison-DoIT' | ||
} | ||
} | ||
// The nexus plugin overlooks provided dependencies | ||
// so we override this bit to make sure they get in | ||
def generatedDeps = dependencies | ||
dependencies { | ||
generatedDeps.each { dep -> | ||
dependency { | ||
groupId dep.groupId | ||
artifactId dep.artifactId | ||
version dep.version | ||
scope dep.scope | ||
} | ||
} | ||
project.configurations.provided.allDependencies.each { dep -> | ||
dependency { | ||
groupId dep.group | ||
artifactId dep.name | ||
version dep.version | ||
scope 'provided' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
// Define provided scope | ||
configurations { | ||
provided | ||
compile.extendsFrom provided | ||
} | ||
|
||
} |
Oops, something went wrong.