Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
moqui
/
moqui-mjml
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
768cad19
authored
2024-05-13 22:49:02 -0500
by
acetousk
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Cleanup component files
1 parent
bced5dd3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
75 deletions
README.md
build.gradle
lib/README
README.md
View file @
768cad1
...
...
@@ -12,6 +12,3 @@ To install run (with moqui-framework):
-
Have all email templates setup as
### Setup
-
Have all email templates setup as
\ No newline at end of file
...
...
build.gradle
deleted
100644 → 0
View file @
bced5dd
/*
* This software is in the public domain under CC0 1.0 Universal plus a
* Grant of Patent License.
*
* To the extent possible under law, the author(s) have dedicated all
* copyright and related and neighboring rights to this software to the
* public domain worldwide. This software is distributed without any
* warranty.
*
* You should have received a copy of the CC0 Public Domain Dedication
* along with this software (see the LICENSE.md file). If not, see
* <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
apply
plugin:
'groovy'
version
=
'3.0.0'
// sourceCompatibility = '1.8'
def
moquiDir
=
file
(
projectDir
.
absolutePath
+
'/../../..'
)
def
frameworkDir
=
file
(
moquiDir
.
absolutePath
+
'/framework'
)
repositories
{
flatDir
name:
'localLib'
,
dirs:
frameworkDir
.
absolutePath
+
'/lib'
mavenCentral
()
}
// Log4J has annotation processors, disable to avoid warning
tasks
.
withType
(
JavaCompile
)
{
options
.
compilerArgs
<<
"-proc:none"
}
tasks
.
withType
(
GroovyCompile
)
{
options
.
compilerArgs
<<
"-proc:none"
}
dependencies
{
implementation
project
(
':framework'
)
testImplementation
project
(
':framework'
).
configurations
.
testImplementation
.
allDependencies
}
// by default the Java plugin runs test on build, change to not do that (only run test if explicit task)
// no longer workds as of gradle 4.8 or possibly earlier, use clear() instead: check.dependsOn.remove(test)
check
.
dependsOn
.
clear
()
jar
{
destinationDirectory
=
file
(
projectDir
.
absolutePath
+
'/lib'
)
// this is required to change from the default that includes the path to this module (ie 'runtime/component/mjml')
archiveBaseName
=
'moqui-mjml'
}
task
cleanLib
(
type:
Delete
)
{
delete
file
(
jar
.
archivePath
)
}
clean
.
dependsOn
cleanLib
test
{
useJUnitPlatform
()
testLogging
{
events
"passed"
,
"skipped"
,
"failed"
}
testLogging
.
showStandardStreams
=
true
;
testLogging
.
showExceptions
=
true
maxParallelForks
1
dependsOn
cleanTest
systemProperty
'moqui.runtime'
,
moquiDir
.
absolutePath
+
'/runtime'
systemProperty
'moqui.conf'
,
'conf/MoquiDevConf.xml'
systemProperty
'moqui.init.static'
,
'true'
maxHeapSize
=
"512M"
classpath
+=
files
(
sourceSets
.
main
.
output
.
classesDirs
)
// filter out classpath entries that don't exist (gradle adds a bunch of these), or ElasticSearch JarHell will blow up
classpath
=
classpath
.
filter
{
it
.
exists
()
}
beforeTest
{
descriptor
->
logger
.
lifecycle
(
"Running test: ${descriptor}"
)
}
}
lib/README
deleted
100644 → 0
View file @
bced5dd
JAR files go in this directory and are picked up automatically by Moqui Framework based on the convention of the directory name 'lib'.
The build.gradle file uses this directory as the target for the built jar file, and deletes the built jar file as part of the clean task.
Please
register
or
sign in
to post a comment