Skip to content

Commit

Permalink
Added signing cert reference
Browse files Browse the repository at this point in the history
  • Loading branch information
envas committed Apr 27, 2021
1 parent 85d575c commit b23771c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
11 changes: 5 additions & 6 deletions templates/niagara-envas-module/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ task buildZip(type: Zip) {
group 'niagara'

def baseName = rootProject.name
def version = rootProject.version
def outputFile = file("${gradle.ext.niagara_modules}/release.txt")
def envasVersion = '0.9.13'
def commonsVersion = '4.0.3'


dependsOn baseName + '-rt:clean'
dependsOn baseName + '-ux:clean'
Expand All @@ -53,11 +48,15 @@ task buildZip(type: Zip) {

apply from: file("${rootDir}/vendor.gradle")

def version = rootProject.version
def outputFile = file("${gradle.ext.niagara_modules}/release.txt")
def envasVersion = '0.9.13'
def commonsVersion = '4.0.3'

outputs.file outputFile
outputFile.write baseName + ": " + version + "\n"
outputFile.append "niagara: " + "${gradle.ext.niagara_release}"


from "${gradle.ext.niagara_modules}"
include baseName + "-*-" + version + ".jar"
include "envas-*-" + envasVersion + ".jar"
Expand Down
6 changes: 4 additions & 2 deletions templates/niagara-envas-module/rt/rt.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ description = "{{moduleDescription}}"
ext {
}
niagaraModule {
moduleName = "{{moduleName}}"
moduleName = "{{moduleName}}"
preferredSymbol = "{{preferredSymbol}}"
runtimeProfile = "rt"
runtimeProfile = "rt"
certAlias = "neopsis-code-sign"


modulePart {
name = "{{moduleName}}-ux"
Expand Down
5 changes: 3 additions & 2 deletions templates/niagara-envas-module/ux/ux.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ description = "{{moduleDescription}}"
ext {
}
niagaraModule {
moduleName = "{{moduleName}}"
moduleName = "{{moduleName}}"
preferredSymbol = "{{preferredSymbol}}"
runtimeProfile = "ux"
runtimeProfile = "ux"
certAlias = "neopsis-code-sign"

}
compileJava {
Expand Down
1 change: 1 addition & 0 deletions templates/niagara-envas-module/wb/wb.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ niagaraModule {
preferredSymbol = "{{preferredSymbol}}"
moduleName = "{{moduleName}}"
runtimeProfile = "wb"
certAlias = "neopsis-code-sign"
}

dependencies {
Expand Down
7 changes: 3 additions & 4 deletions templates/niagara-multi-module/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ task buildZip(type: Zip) {
group 'niagara'

def baseName = rootProject.name
def version = rootProject.version
def outputFile = file("${gradle.ext.niagara_modules}/release.txt")



dependsOn baseName + '-rt:clean'
dependsOn baseName + '-ux:clean'
Expand All @@ -52,6 +48,9 @@ task buildZip(type: Zip) {

apply from: file("${rootDir}/vendor.gradle")

def version = rootProject.version
def outputFile = file("${gradle.ext.niagara_modules}/release.txt")

outputs.file outputFile
outputFile.write baseName + ": " + version + "\n"
outputFile.append "niagara: " + "${gradle.ext.niagara_release}"
Expand Down

0 comments on commit b23771c

Please sign in to comment.