-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
80 lines (69 loc) · 4.37 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.1"
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'kotlin'
tasks.withType(JavaCompile) {
options.incremental = true
sourceCompatibility = '1.7'
targetCompatibility = '1.8'
}
repositories {
mavenCentral()
jcenter()
flatDir { dirs '../lib' }
}
dependencies {
compile 'org.slf4j:slf4j-api'
compile 'ch.qos.logback:logback-classic'
runtime 'org.slf4j:jcl-over-slf4j'
runtime 'org.slf4j:log4j-over-slf4j'
}
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute module('org.slf4j:slf4j-api') with module('org.slf4j:slf4j-api:1.7.26')
substitute module('org.slf4j:jcl-over-slf4j') with module('org.slf4j:jcl-over-slf4j:1.7.26')
substitute module('org.slf4j:log4j-over-slf4j') with module('org.slf4j:log4j-over-slf4j:1.7.26')
substitute module('ch.qos.logback:logback-classic') with module('ch.qos.logback:logback-classic:1.2.3')
substitute module('javax.inject:javax.inject') with module('javax.inject:javax.inject:1')
substitute module('com.google.inject:guice') with module('com.google.inject:guice:4.2.2')
substitute module('net.sourceforge.stripes:stripes') with module('net.sourceforge.stripes:stripes:1.6.0')
substitute module('org.apache.openjpa:openjpa') with module('org.apache.openjpa:openjpa:3.0.0')
substitute module('org.apache.lucene:lucene-core') with module('org.apache.lucene:lucene-core:8.0.0')
substitute module('org.apache.lucene:lucene-analyzers-common') with module('org.apache.lucene:lucene-analyzers-common:8.0.0')
substitute module('org.apache.lucene:lucene-queryparser') with module('org.apache.lucene:lucene-queryparser:8.0.0')
substitute module('org.apache.lucene:lucene-highlighter') with module('org.apache.lucene:lucene-highlighter:8.0.0')
substitute module('joda-time:joda-time') with module('joda-time:joda-time:2.10.1')
substitute module('joda-time:joda-time-jsptags') with module('joda-time:joda-time-jsptags:1.1.1')
substitute module('org.apache.shiro:shiro-web') with module('org.apache.shiro:shiro-web:1.2.4')
substitute module('net.sourceforge.nekohtml:nekohtml') with module('net.sourceforge.nekohtml:nekohtml:1.9.21')
substitute module('org.owasp.antisamy:antisamy') with module('org.owasp.antisamy:antisamy:1.5.3')
substitute module('com.google.guava:guava') with module('com.google.guava:guava:27.1-jre')
substitute module('org.apache.taglibs:taglibs-standard-spec') with module('org.apache.taglibs:taglibs-standard-spec:1.2.5')
substitute module('org.apache.taglibs:taglibs-standard-impl') with module('org.apache.taglibs:taglibs-standard-impl:1.2.5')
substitute module('commons-lang:commons-lang') with module('commons-lang:commons-lang:2.6')
substitute module('org.apache.commons:commons-text') with module('org.apache.commons:commons-text:1.4')
substitute module('commons-pool:commons-pool') with module('commons-pool:commons-pool:1.6')
substitute module('commons-beanutils:commons-beanutils') with module('commons-beanutils:commons-beanutils:1.9.3')
substitute module('commons-collections:commons-collections') with module('commons-collections:commons-collections:3.2.2')
substitute module('com.fasterxml.jackson.core:jackson-databind') with module('com.fasterxml.jackson.core:jackson-databind:2.9.4')
substitute module('com.hectorlopezfernandez.pebble:stripes-extension') with module('com.hectorlopezfernandez.pebble:stripes-extension:0.7.1')
substitute module('com.hectorlopezfernandez.pebble:joda-time-extension') with module('com.hectorlopezfernandez.pebble:joda-time-extension:1.0.2')
substitute module('com.hectorlopezfernandez.pebble:shiro-extension') with module('com.hectorlopezfernandez.pebble:shiro-extension:1.0.0')
}
}
// marker task for production specific builds
task release {
outputs.upToDateWhen { false }
}
// jetty-runner alias
task run { outputs.upToDateWhen { false } }
task stop { outputs.upToDateWhen { false } }
task restart { outputs.upToDateWhen { false } }
}