Skip to content

Commit

Permalink
fix an issue with annotating single files (oops), and some build prob…
Browse files Browse the repository at this point in the history
…lems with the new JDK
  • Loading branch information
reality committed Mar 18, 2021
1 parent 206524f commit 2390cc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ repositories {
// Use jcenter for resolving dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}

dependencies {
Expand Down Expand Up @@ -72,6 +73,10 @@ gradle.taskGraph.whenReady { taskGraph ->
}
}

jacoco {
toolVersion = '0.8.7-SNAPSHOT'
}

test {
maxHeapSize = "6G"
testLogging {
Expand Down
2 changes: 1 addition & 1 deletion src/main/groovy/komenti/Komenti.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public class Komenti {
files.eachParallel{ f ->
def (name, text) = [f.getName(), f.text]
def parent = ''
if(f.getParentFile()) { parent = f.getParentFile().getName }
if(f.getParentFile()) { parent = f.getParentFile().getName() }

if(name =~ /(?i)pdf$/) {
text = new PDFReader(f).getText()
Expand Down

0 comments on commit 2390cc1

Please sign in to comment.