-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathbuild.gradle
28 lines (23 loc) · 965 Bytes
/
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
apply plugin: 'java-library'
apply plugin: 'maven-publish'
apply plugin: 'eclipse'
buildscript {
dependencies {
classpath group: "org.opencms", name: "opencms-gradle-plugin", version: "2.+"
}
repositories {
mavenLocal()
mavenCentral()
}
}
apply plugin: 'org.opencms.modules.defaultdependencies'
// here you can configure the default dependencies via 'ocDependencies'
// see the output of `./gradlew ocDependenciesDemo` for an example
ocDependencies {
// this is required because jars for jcaptcha, sac and cssparser are placed in the repository directly
inModuleDeps=true
}
// NOTE: If you need additional a dependencies, declare them in a 'dependencies.gradle' file in this folder.
// If declared differently, they will not be applied in the required point of the configuration.
// see the output of `./gradlew opencmsPluginDescription` for documentation of the plugin
apply plugin: 'org.opencms.modules'