64acdb5f2a
The domain ranking code was admittedly a bit of a clown fiesta; at the same time buggy, fragile and inscrutable. Migrating over to use JGraphT to store the link graph when doing rankings, and using their PageRank implementation. Also added a modified version that does PersonalizedPageRank.
44 lines
1.1 KiB
Groovy
44 lines
1.1 KiB
Groovy
plugins {
|
|
id 'java'
|
|
|
|
|
|
id "de.undercouch.download" version "5.1.0"
|
|
|
|
id 'jvm-test-suite'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':code:common:db')
|
|
implementation project(':code:common:model')
|
|
implementation project(':code:common:service')
|
|
implementation project(':code:common:service-client')
|
|
implementation project(':code:api:query-api')
|
|
|
|
implementation 'org.jgrapht:jgrapht-core:1.5.2'
|
|
|
|
implementation libs.bundles.slf4j
|
|
implementation libs.bundles.mariadb
|
|
implementation libs.guice
|
|
implementation libs.notnull
|
|
implementation libs.roaringbitmap
|
|
implementation libs.trove
|
|
implementation libs.fastutil
|
|
implementation libs.hll
|
|
|
|
testImplementation project(':code:libraries:array')
|
|
testImplementation libs.commons.lang3
|
|
testImplementation libs.bundles.slf4j.test
|
|
testImplementation libs.bundles.junit
|
|
testImplementation libs.mockito
|
|
}
|
|
|
|
test {
|
|
minHeapSize = "128m" // initial heap size
|
|
maxHeapSize = "20G" // maximum heap size
|
|
} |