GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Unifiy library versions · cloudbank/functionaljava@55b0197

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • build.gradle
  • core
    • build.gradle
  • demo
    • build.gradle
  • java8
    • build.gradle
  • tests
    • build.gradle
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎build.gradle‎

Copy file name to clipboardExpand all lines: build.gradle
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ allprojects {
4646
sonatypeReleaseUrl = "$sonatypeBaseUrl/service/local/staging/deploy/maven2/"
4747
sonatypeUploadUrl = isSnapshot ? sonatypeSnapshotUrl : sonatypeReleaseUrl
4848
primaryEmail = "[email protected]"
49+
50+
dependencySlf4jApi = "org.slf4j:slf4j-api:1.7.5"
51+
dependencyJunit = "junit:junit:4.11"
52+
53+
4954
}
5055
version = fjVersion
5156
group = "org.functionaljava"
Collapse file

‎core/build.gradle‎

Copy file name to clipboardExpand all lines: core/build.gradle
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jar {
88
}
99

1010
dependencies {
11-
compile 'org.slf4j:slf4j-api:1.7.5'
12-
testCompile "junit:junit:4.11"
11+
compile dependencySlf4jApi
12+
testCompile dependencyJunit
1313
}
1414

1515
task javadoc(type: Javadoc, overwrite: true, dependsOn: "java8Javadoc") {
Collapse file

‎demo/build.gradle‎

Copy file name to clipboardExpand all lines: demo/build.gradle
+2-6Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ apply from: "$rootDir/lib.gradle"
66

77
mainClassName = "fj.demo.euler.Problem2"
88

9-
repositories {
10-
mavenCentral()
11-
}
12-
139
task javadoc(type: Javadoc, overwrite: true) {
1410
def t = createDynamicJavadoc("$projectDir", ["core"])
1511
dependsOn(t)
@@ -22,7 +18,7 @@ retrolambda {
2218
}
2319

2420
dependencies {
25-
compile 'org.slf4j:slf4j-api:1.7.5'
21+
compile dependencySlf4jApi
2622
compile project(":core")
27-
testCompile "junit:junit:4.11"
23+
testCompile dependencyJunit
2824
}
Collapse file

‎java8/build.gradle‎

Copy file name to clipboardExpand all lines: java8/build.gradle
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ task javadoc(type: Javadoc, overwrite: true) {
1414

1515
dependencies {
1616
compile project(":core")
17-
testCompile "junit:junit:4.11"
17+
testCompile dependencyJunit
1818
}
1919

2020
compileJava {
Collapse file

‎tests/build.gradle‎

Copy file name to clipboardExpand all lines: tests/build.gradle
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ tasks.withType(ScalaCompile) {
1515

1616
dependencies {
1717
compile project(":core")
18-
compile "org.slf4j:slf4j-api:1.7.5"
18+
compile dependencySlf4jApi
1919
compile "org.scala-lang:scala-library:$scalaVersion"
2020

2121
testCompile "org.scala-lang:scala-library:$scalaVersion"
2222
testCompile "org.scalacheck:scalacheck_$scalacheckScalaVersion:$scalacheckVersion"
23-
testCompile "junit:junit:4.11"
23+
testCompile dependencyJunit
2424
}

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.