Skip to content

Commit

Permalink
Added component.xml file with version, use in build script as in othe…
Browse files Browse the repository at this point in the history
…r component; prep for release
  • Loading branch information
jonesde committed Oct 22, 2017
1 parent 517a815 commit e11f2e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
apply plugin: 'groovy'

sourceCompatibility = '1.8'
version = '1.0.1'
def jarBaseName = 'moqui-hazelcast'
def componentNode = parseComponent(project)
version = componentNode.'@version'
def jarBaseName = componentNode.'@name'
def moquiDir = projectDir.parentFile.parentFile.parentFile
def frameworkDir = file(moquiDir.absolutePath + '/framework')

Expand Down
3 changes: 3 additions & 0 deletions component.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/moqui-conf-2.1.xsd"
name="moqui-hazelcast" version="1.0.1"/>

0 comments on commit e11f2e9

Please sign in to comment.