2019-01-10 04:04:30 +08:00
|
|
|
buildscript {
|
2019-01-18 01:29:44 +08:00
|
|
|
repositories {
|
2022-11-01 01:34:27 +08:00
|
|
|
mavenCentral()
|
2019-01-18 01:29:44 +08:00
|
|
|
mavenLocal()
|
2021-06-08 23:52:37 +08:00
|
|
|
maven { url "https://repo1.maven.org/maven2" }
|
|
|
|
maven { url "https://repo.grails.org/artifactory/core" }
|
2019-01-18 01:29:44 +08:00
|
|
|
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-03-03 02:19:36 +08:00
|
|
|
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:4.0.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"
|
2019-01-18 01:29:44 +08:00
|
|
|
}
|
2019-01-10 04:04:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
version "0.10.0"
|
|
|
|
group "org.bigbluebutton.web"
|
|
|
|
|
2019-01-18 01:29:44 +08:00
|
|
|
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"
|
2019-01-18 01:29:44 +08:00
|
|
|
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"
|
2010-03-05 00:32:52 +08:00
|
|
|
|
2014-02-25 23:46:06 +08:00
|
|
|
task resolveDeps(type: Copy) {
|
2019-01-18 01:29:44 +08:00
|
|
|
into('lib')
|
|
|
|
from configurations.default
|
|
|
|
from configurations.default.allArtifacts.file
|
|
|
|
doLast { println '[bbb:task] Resolved dependencies for bigbluebutton-web application' }
|
2010-03-05 00:32:52 +08:00
|
|
|
}
|
|
|
|
|
2019-01-18 01:29:44 +08:00
|
|
|
// 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
|
|
|
|
|
2010-03-05 00:32:52 +08:00
|
|
|
repositories {
|
2022-11-01 01:34:27 +08:00
|
|
|
mavenCentral()
|
2019-01-18 01:29:44 +08:00
|
|
|
mavenLocal()
|
2021-06-08 23:52:37 +08:00
|
|
|
maven { url "https://repo1.maven.org/maven2" }
|
|
|
|
maven { url "https://repo.grails.org/artifactory/core" }
|
2019-01-18 01:29:44 +08:00
|
|
|
maven { url "https://repo.grails.org/grails/core" }
|
2010-03-05 00:32:52 +08:00
|
|
|
}
|
|
|
|
|
2019-01-10 04:04:30 +08:00
|
|
|
dependencies {
|
2023-03-03 02:19:36 +08:00
|
|
|
runtimeOnly "com.bertramlabs.plugins:asset-pipeline-grails:4.0.0"
|
2022-07-08 03:23:58 +08:00
|
|
|
implementation "org.springframework:spring-core:5.3.21"
|
|
|
|
implementation "org.springframework:spring-context:5.3.21"
|
2022-09-09 01:32:00 +08:00
|
|
|
implementation "org.springframework.boot:spring-boot:${springVersion}"
|
|
|
|
implementation "org.springframework.boot:spring-boot-starter-logging:${springVersion}"
|
|
|
|
implementation "org.springframework.boot:spring-boot-autoconfigure:${springVersion}"
|
2022-12-22 05:55:58 +08:00
|
|
|
implementation "org.grails:grails-core:5.2.4"
|
2022-09-09 01:32:00 +08:00
|
|
|
implementation "org.springframework.boot:spring-boot-starter-actuator:${springVersion}"
|
|
|
|
implementation "org.springframework.boot:spring-boot-starter-tomcat:${springVersion}"
|
2023-01-25 09:30:40 +08:00
|
|
|
implementation "org.grails:grails-web-boot:5.2.5"
|
2021-12-17 20:39:03 +08:00
|
|
|
implementation "org.grails:grails-logging"
|
2023-01-25 09:30:40 +08:00
|
|
|
implementation "org.grails:grails-plugin-rest:5.2.5"
|
2023-01-21 02:22:50 +08:00
|
|
|
implementation "org.grails:grails-plugin-databinding:5.2.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"
|
|
|
|
implementation "org.grails:grails-gradle-plugin:5.1.4"
|
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}"
|
2019-01-18 01:29:44 +08:00
|
|
|
//--- BigBlueButton Dependencies Start - Transitive dependencies have to be re-defined below
|
2022-12-30 01:23:14 +08:00
|
|
|
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"
|
|
|
|
implementation "org.json:json:20211205"
|
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"
|
2019-06-05 01:56:40 +08:00
|
|
|
// https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload
|
2023-03-03 02:27:25 +08:00
|
|
|
implementation group: 'commons-fileupload', name: 'commons-fileupload', version: '1.5'
|
2019-06-05 01:56:40 +08:00
|
|
|
|
2022-04-09 02:46:54 +08:00
|
|
|
implementation 'javax.validation:validation-api:2.0.1.Final'
|
2022-09-09 01:32:00 +08:00
|
|
|
implementation "org.springframework.boot:spring-boot-starter-validation:${springVersion}"
|
2023-01-26 03:09:22 +08:00
|
|
|
implementation 'org.postgresql:postgresql:42.4.3'
|
2022-04-09 02:46:54 +08:00
|
|
|
implementation 'org.hibernate:hibernate-core:5.6.1.Final'
|
2021-06-23 23:17:35 +08:00
|
|
|
|
2019-01-18 01:29:44 +08:00
|
|
|
//--- BigBlueButton Dependencies End
|
2022-12-22 05:55:58 +08:00
|
|
|
console "org.grails:grails-console:5.2.0"
|
2019-01-18 01:29:44 +08:00
|
|
|
profile "org.grails.profiles:web"
|
2023-03-03 02:19:36 +08:00
|
|
|
runtimeOnly "com.bertramlabs.plugins:asset-pipeline-grails:4.0.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'))
|
|
|
|
}
|
|
|
|
|
2022-03-17 17:10:45 +08:00
|
|
|
configurations.implementation {
|
|
|
|
exclude group: 'io.micronaut', module: 'micronaut-aop'
|
|
|
|
}
|
|
|
|
|
2021-12-17 20:39:03 +08:00
|
|
|
configurations {
|
|
|
|
developmentOnly
|
|
|
|
runtimeClasspath {
|
|
|
|
extendsFrom developmentOnly
|
|
|
|
}
|
2010-07-13 21:42:13 +08:00
|
|
|
}
|
2014-07-31 03:36:19 +08:00
|
|
|
|
2019-01-10 04:04:30 +08:00
|
|
|
bootRun {
|
2019-01-18 01:29:44 +08:00
|
|
|
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
|
2019-01-18 01:29:44 +08:00
|
|
|
String springProfilesActive = 'spring.profiles.active'
|
|
|
|
systemProperty springProfilesActive, System.getProperty(springProfilesActive)
|
2014-07-31 03:36:19 +08:00
|
|
|
}
|
|
|
|
|
2019-01-10 04:04:30 +08:00
|
|
|
assets {
|
2019-01-18 01:29:44 +08:00
|
|
|
minifyJs = true
|
|
|
|
minifyCss = true
|
2019-01-10 04:04:30 +08:00
|
|
|
}
|
2019-01-18 01:29:44 +08:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
2021-06-08 23:52:37 +08:00
|
|
|
}
|