bigbluebutton-Github/bigbluebutton-web/build.gradle

167 lines
6.5 KiB
Groovy
Raw Normal View History

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 {
2021-12-17 20:39:03 +08:00
classpath "org.grails:grails-gradle-plugin:${grailsGradlePluginVersion}"
classpath "org.grails.plugins:hibernate5:${gormVersion}"
2023-11-23 22:45:45 +08:00
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:4.3.0"
2021-12-17 20:39:03 +08:00
classpath "gradle.plugin.com.github.erdi.webdriver-binaries:webdriver-binaries-gradle-plugin:2.6"
2022-07-08 03:23:58 +08:00
classpath "org.grails.plugins:views-gradle:2.1.1"
classpath "org.grails.plugins:views-json:2.1.1"
}
}
version "0.10.0"
group "org.bigbluebutton.web"
apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: "war"
apply plugin: "org.grails.grails-web"
2021-12-17 20:39:03 +08:00
apply plugin: "com.bertramlabs.asset-pipeline"
apply plugin: "org.grails.grails-gsp"
2022-12-22 05:55:58 +08:00
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 {
2023-11-23 22:45:45 +08:00
runtimeOnly "com.bertramlabs.plugins:asset-pipeline-grails:4.3.0"
2023-05-29 21:19:49 +08:00
2023-11-23 22:45:45 +08:00
implementation "org.springframework:spring-core:5.3.31"
implementation "org.springframework:spring-context:5.3.31"
implementation "org.springframework.boot:spring-boot:${springVersion}"
implementation "org.springframework.boot:spring-boot-starter-logging:${springVersion}"
implementation "org.springframework.boot:spring-boot-autoconfigure:${springVersion}"
2023-05-19 21:46:45 +08:00
implementation "org.grails:grails-core:${grailsVersion}"
implementation "org.springframework.boot:spring-boot-starter-actuator:${springVersion}"
implementation "org.springframework.boot:spring-boot-starter-tomcat:${springVersion}"
2023-03-24 04:44:49 +08:00
implementation "org.grails:grails-web-boot:5.2.5"
2023-11-23 22:45:45 +08:00
implementation "org.springframework:spring-webmvc:5.3.31"
2023-03-24 04:44:49 +08:00
2021-12-17 20:39:03 +08:00
implementation "org.grails:grails-logging"
implementation "org.grails:grails-plugin-rest:5.2.5"
implementation "org.grails:grails-plugin-databinding:5.3.4"
2021-12-17 20:39:03 +08:00
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'
2023-01-21 03:12:45 +08:00
implementation "org.yaml:snakeyaml:1.31"
2022-07-08 03:23:58 +08:00
implementation "org.grails.plugins:views-json:2.1.1"
2022-12-22 05:55:58 +08:00
implementation "org.grails.plugins:cache"
2022-07-08 03:23:58 +08:00
implementation "org.apache.xmlbeans:xmlbeans:5.0.3"
2023-11-23 22:45:45 +08:00
implementation "org.grails:grails-gradle-plugin:${grailsGradlePluginVersion}"
2021-12-17 20:39:03 +08:00
implementation "org.grails.plugins:async"
implementation "org.grails.plugins:scaffolding"
implementation "org.grails.plugins:events"
implementation "org.grails.plugins:gsp"
2022-04-05 04:25:57 +08:00
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.22-SNAPSHOT"
2021-12-17 20:39:03 +08:00
implementation "org.bigbluebutton:bbb-common-web:0.0.3-SNAPSHOT"
2022-10-06 22:07:16 +08:00
implementation "io.lettuce:lettuce-core:6.1.9.RELEASE"
2021-12-17 20:39:03 +08:00
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"
2024-03-16 00:12:11 +08:00
implementation "org.json:json:20231013"
2023-01-26 03:32:29 +08:00
implementation "com.zaxxer:nuprocess:2.0.6"
2021-12-17 20:39:03 +08:00
implementation "net.java.dev.jna:jna:5.10.0"
2022-12-31 05:17:48 +08:00
implementation "org.springframework.data:spring-data-commons:2.7.6"
2022-04-09 02:46:54 +08:00
implementation 'javax.validation:validation-api:2.0.1.Final'
implementation "org.springframework.boot:spring-boot-starter-validation:${springVersion}"
implementation 'org.postgresql:postgresql:42.7.2'
2022-04-09 02:46:54 +08:00
implementation 'org.hibernate:hibernate-core:5.6.1.Final'
//--- BigBlueButton Dependencies End
2022-12-22 05:55:58 +08:00
console "org.grails:grails-console:5.2.0"
profile "org.grails.profiles:web"
2023-11-23 22:45:45 +08:00
runtimeOnly "com.bertramlabs.plugins:asset-pipeline-grails:4.3.0"
2021-12-17 20:39:03 +08:00
testImplementation "org.grails:grails-gorm-testing-support"
testImplementation "org.grails.plugins:geb"
testImplementation "org.grails:grails-web-testing-support"
2022-10-06 22:07:16 +08:00
testRuntimeOnly "org.seleniumhq.selenium:selenium-chrome-driver:4.0.0"
2021-12-17 20:39:03 +08:00
testRuntimeOnly "org.seleniumhq.selenium:selenium-htmlunit-driver:2.47.1"
2022-10-06 22:07:16 +08:00
testRuntimeOnly "net.sourceforge.htmlunit:htmlunit:2.63.0"
2021-12-17 20:39:03 +08:00
testImplementation "com.github.javafaker:javafaker:0.12"
}
2022-07-08 03:23:58 +08:00
tasks.named('bootWarMainClassName') {
it.mustRunAfter(tasks.named('compileGsonViews'))
}
configurations.implementation {
exclude group: 'io.micronaut', module: 'micronaut-aop'
2023-03-04 03:32:55 +08:00
exclude group: 'com.h2database', module: 'h2'
2023-03-04 03:25:33 +08:00
exclude group: 'org.graalvm.sdk', module: 'graal-sdk'
2023-11-23 22:45:45 +08:00
exclude group: 'io.github.gradle-nexus', module: 'publish-plugin'
exclude group: 'org.grails', module: 'grails-shell'
}
2021-12-17 20:39:03 +08:00
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
2010-07-13 21:42:13 +08:00
}
bootRun {
jvmArgs('-Dspring.output.ansi.enabled=always')
2022-07-08 03:23:58 +08:00
jvmArgs('-Dspring.main.allow-circular-references=true')
2021-12-17 20:39:03 +08:00
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"
}
}