-
Notifications
You must be signed in to change notification settings - Fork 136
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
1 parent
1a70241
commit d5277bd
Showing
2 changed files
with
91 additions
and
6 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 |
---|---|---|
|
@@ -11,20 +11,99 @@ buildscript { | |
} | ||
|
||
apply plugin: 'java' | ||
apply plugin: 'maven-publish' | ||
apply plugin: 'com.bmuschko.nexus' | ||
|
||
sourceCompatibility = 1.8 | ||
jar { | ||
manifest { | ||
attributes 'Implementation-Title': 'cyclops-anym', 'Implementation-Version': version | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
jcenter() | ||
} | ||
configurations { | ||
provided | ||
} | ||
|
||
dependencies { | ||
compile project(':cyclops') | ||
compileOnly 'org.projectlombok:lombok:1.16.12' | ||
testCompileOnly 'org.projectlombok:lombok:1.16.12' | ||
provided 'org.projectlombok:lombok:1.16.12' | ||
provided 'org.projectlombok:lombok:1.16.12' | ||
testCompile project(':cyclops').sourceSets.test.output | ||
testCompile 'io.projectreactor:reactor-core:3.0.7.RELEASE' | ||
testCompile group: 'junit', name: 'junit', version: '4.12' | ||
testCompile 'org.hamcrest:hamcrest-all:1.3' | ||
testCompile 'com.github.stefanbirkner:system-rules:1.10.0' | ||
} | ||
sourceSets { | ||
main.compileClasspath += [configurations.provided] | ||
test.compileClasspath += [configurations.provided] | ||
test.runtimeClasspath += [configurations.provided] | ||
} | ||
|
||
modifyPom { | ||
project { | ||
name 'cyclops-anym' | ||
description 'A higher kinded monad abstraction for Java' | ||
url 'https://github.com/aol/cyclops-react' | ||
inceptionYear '2015' | ||
|
||
groupId 'com.oath.cyclops' | ||
artifactId 'cyclops-anym' | ||
version "$version" | ||
|
||
scm { | ||
url 'scm:[email protected]:aol/cyclops-react.git' | ||
connection 'scm:[email protected]:aol/cyclops-react.git' | ||
developerConnection 'scm:[email protected]:aol/simple-react.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 { | ||
id 'johnmcclean' | ||
name 'John McClean' | ||
email '[email protected]' | ||
} | ||
developer { | ||
id 'kewangie' | ||
name 'Ke Wang' | ||
email '[email protected]' | ||
} | ||
|
||
developer { | ||
id 'tkountis' | ||
name 'Thomas Kountis Wang' | ||
email '[email protected]' | ||
} | ||
developer { | ||
id 'colinfkennedy' | ||
name 'Colin Kennedy' | ||
email '[email protected]' | ||
} | ||
} | ||
} | ||
} | ||
|
||
extraArchive { | ||
sources = true | ||
tests = true | ||
javadoc = true | ||
} | ||
|
||
nexus { | ||
sign = true | ||
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2' | ||
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots' | ||
} | ||
|
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