-
Notifications
You must be signed in to change notification settings - Fork 6
CreateProcedureLibrary
Alan Estrada edited this page Aug 21, 2019
·
8 revisions
// build.gradle
buildscript {
repositories {
flatDir { dirs '/path/to/latte/build/libs/' }
}
dependencies {
// Remember to replace this version number with your own version
classpath "oe.espresso.latte:latte:0.2.0"
}
}
allprojects {
repositories {
jcenter()
}
}
apply plugin: 'oe.espresso.latte.latte'
task createPL(type: oe.espresso.latte.CreateProcedureLibrary) {
destFile = "build/foo.pl"
basedir = "/path/to/some/dir/with/rcode"
includes= "**/*.r"
}
Use the command ./gradlew createPL
to run this example.
On success, there should be a foo.db
file in build
of your project.
Attribute | Description | Default value |
---|---|---|
destFile † | R-code library to create | None |
sharedFile † | Memory mapped library to create | None |
encoding | Character encoding used to store filenames. | None |
noCompress | Disable library compression. | False (i.e. compression enabled) |
cpInternal | Internal code page (-cpinternal parameter) | None |
cpStream | Stream code page (-cpstream parameter) | None |
cpColl | Collation table (-cpcoll parameter) | None |
cpCase | Case table (-cpcase parameter) | None |
basedir | The directory from which to store the files. | None |
includes | Comma- or space-separated list of patterns of files that must be included. All files are included when omitted. | None |
includesFile | The name of a file. Each line of this file is taken to be an include pattern. | None |
excludes | Comma- or space-separated list of patterns of files that must be excluded. No files (except default excludes) are excluded when omitted. | None |
excludesFile | The name of a file. Each line of this file is taken to be an exclude pattern. | None |
defaultExcludes | Indicates whether default excludes should be used or not ("yes"/"no"). Default excludes are used when omitted. | True |
† Only one of those attributes is mandatory ‡ Mandatory attribute
Please refer to PCTLibrary for more info.