bigbluebutton-Github/bigbluebutton-web/build.gradle

146 lines
5.5 KiB
Groovy
Executable File

buildscript {
repositories {
mavenCentral()
mavenLocal()
maven { url "https://repo1.maven.org/maven2" }
maven { url "https://repo.grails.org/artifactory/core" }
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:${grailsGradlePluginVersion}"
classpath "org.grails.plugins:hibernate5:${gormVersion}"
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:3.3.4"
classpath "gradle.plugin.com.github.erdi.webdriver-binaries:webdriver-binaries-gradle-plugin:2.6"
classpath "org.grails.plugins:views-gradle:2.1.0"
}
}
version "0.10.0"
group "org.bigbluebutton.web"
apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: "war"
apply plugin: "org.grails.grails-web"
apply plugin: "com.bertramlabs.asset-pipeline"
apply plugin: "org.grails.grails-gsp"
apply plugin:"com.github.erdi.webdriver-binaries"
apply plugin:"org.grails.plugins.views-json"
task resolveDeps(type: Copy) {
into('lib')
from configurations.default
from configurations.default.allArtifacts.file
doLast { println '[bbb:task] Resolved dependencies for bigbluebutton-web application' }
}
// Task that creates the index file which lists all extra libs
task copyWebInf(type: Copy) {
into("${project.buildDir}/resources/main/")
from("src/main/webapp")
}
// make processResources depends on copyWebInf task
processResources.dependsOn copyWebInf
repositories {
mavenCentral()
mavenLocal()
maven { url "https://repo1.maven.org/maven2" }
maven { url "https://repo.grails.org/artifactory/core" }
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
runtimeOnly "com.bertramlabs.plugins:asset-pipeline-grails:3.3.4"
implementation "org.springframework.boot:spring-boot-starter-logging"
implementation "org.springframework.boot:spring-boot-autoconfigure"
implementation "org.grails:grails-core"
implementation "org.springframework.boot:spring-boot-starter-actuator"
implementation "org.springframework.boot:spring-boot-starter-tomcat:2.6.6"
implementation "org.grails:grails-web-boot"
implementation "org.grails:grails-logging"
implementation "org.grails:grails-plugin-rest"
implementation "org.grails:grails-plugin-databinding"
implementation "org.grails:grails-plugin-i18n"
implementation "org.grails:grails-plugin-services"
implementation "org.grails:grails-plugin-url-mappings"
implementation "org.grails:grails-plugin-interceptors"
implementation 'org.grails.plugins:external-config:1.2.2'
implementation "org.grails.plugins:cache"
implementation "org.grails.plugins:async"
implementation "org.grails.plugins:scaffolding"
implementation "org.grails.plugins:events"
implementation "org.grails.plugins:gsp"
implementation "org.apache.tomcat.embed:tomcat-embed-core:${tomcatEmbedVersion}"
implementation "org.apache.tomcat.embed:tomcat-embed-el:${tomcatEmbedVersion}"
implementation "org.apache.tomcat.embed:tomcat-embed-websocket:${tomcatEmbedVersion}"
implementation "org.apache.tomcat:tomcat-annotations-api:${tomcatEmbedVersion}"
//--- BigBlueButton Dependencies Start - Transitive dependencies have to be re-defined below
implementation "org.bigbluebutton:bbb-common-message_2.13:0.0.21-SNAPSHOT"
implementation "org.bigbluebutton:bbb-common-web:0.0.3-SNAPSHOT"
implementation "io.lettuce:lettuce-core:6.1.9.RELEASE"
implementation "org.reactivestreams:reactive-streams:1.0.3"
implementation "io.projectreactor:reactor-core:3.4.12"
implementation "org.freemarker:freemarker:2.3.31"
implementation "com.google.code.gson:gson:2.8.9"
implementation "org.json:json:20211205"
implementation "com.zaxxer:nuprocess:2.0.5"
implementation "net.java.dev.jna:jna:5.10.0"
// https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload
implementation group: 'commons-fileupload', name: 'commons-fileupload', version: '1.4'
implementation "javax.validation:validation-api:2.0.1.Final"
// compile "org.hibernate:hibernate-validator:7.0.1.Final"
implementation 'org.springframework.boot:spring-boot-starter-validation:2.6.1'
//--- BigBlueButton Dependencies End
console "org.grails:grails-console"
profile "org.grails.profiles:web"
runtimeOnly "com.bertramlabs.plugins:asset-pipeline-grails:3.3.6"
testImplementation "org.grails:grails-gorm-testing-support"
testImplementation "org.grails.plugins:geb"
testImplementation "org.grails:grails-web-testing-support"
testRuntimeOnly "org.seleniumhq.selenium:selenium-chrome-driver:4.0.0"
testRuntimeOnly "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
testRuntimeOnly "net.sourceforge.htmlunit:htmlunit:2.63.0"
testImplementation "com.github.javafaker:javafaker:0.12"
}
configurations.implementation {
exclude group: 'io.micronaut', module: 'micronaut-aop'
}
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
bootRun {
jvmArgs('-Dspring.output.ansi.enabled=always')
sourceResources sourceSets.main
String springProfilesActive = 'spring.profiles.active'
systemProperty springProfilesActive, System.getProperty(springProfilesActive)
}
assets {
minifyJs = true
minifyCss = true
}
test {
testLogging {
events = ["passed", "failed", "skipped"]
// Make sure output from
// standard out or error is shown
// in Gradle output.
showStandardStreams = true
showExceptions = true
showCauses = true
exceptionFormat = "full"
}
}