aboutsummaryrefslogtreecommitdiffstats
path: root/build.moxie
blob: 0a17af081f3cd3de95334b9637641149ec0b5c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#
# Iciql project descriptor
#

# Specify minimum Moxie version required to build
requires: 0.9.2

# Project Metadata
name: Iciql
description: 'a model-based database access wrapper for JDBC'
groupId: com.gitblit.iciql
artifactId: iciql
version: 2.0.0-SNAPSHOT
packaging: jar+zip
inceptionYear: 2011

# Current stable release
releaseVersion: 1.6.5
releaseDate: 2015-07-21

# Project urls
url: 'http://iciql.com'
issuesUrl: 'https://github.com/gitblit/iciql/issues'
mavenUrl: 'http://gitblit.github.io/iciql/maven'

licenses:
- {
    name: 'Apache ASL v2.0'
    url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
  }

developers:
- {
  id: james
  name: 'James Moger'
  email: 'james.moger@gmail.com'
  organization: 'gitblit.com'
  organizationUrl: 'https://github.com/gitblit'
  }

scm: {
  connection: 'scm:git:git://github.com/gitblit/iciql.git'
  developerConnection: 'scm:git:https://github.com/gitblit/iciql.git'
  url: 'https://github.com/gitblit/iciql'
  tag: HEAD
  }

# Model generation tool
mainclass: com.iciql.util.GenerateModels

sourceDirectories:
- compile 'src/main/java'
- test 'src/test/java'
- site 'src/site'

resourceDirectories:
- test 'src/test/resources'
- site 'src/site/resources'

# compile for Java 6 class format
tasks: {
	'mx:javac' : {
        source: 1.6
        target: 1.6
        compiler: javac1.6
        encoding: UTF-8
        # stop complaints about bootstrap classpath when compiling with Java 7
        compilerArgs: '-Xlint:-options'
    }
}

# Generate Eclipse project files.
apply: eclipse

# Copy all retrieved dependencies to the "ext" directory.
# Generated IDE settings (.classpath, etc) will use the artifacts
# from this project-relative directory. This allows the IDE settings
# to be version-controlled and shared.
dependencyDirectory: ext

# Source all dependencies from the following repositories in the specified order
repositories: central

properties: {
	h2.version : 1.4.191
	hsqldb.version : 2.3.3
	derby.version : 10.12.1.1
	mysql.version : 5.6
	postgresql.version : 9.5
	sqlite.version : 3.8.11.2
}

dependencies:
- provided 'com.beust:jcommander:1.17'
- provided 'com.h2database:h2:${h2.version}'
- provided 'org.hsqldb:hsqldb:${hsqldb.version}'
- provided 'org.apache.derby:derby:${derby.version}'
- provided 'org.apache.derby:derbyclient:${derby.version}'
- provided 'org.apache.derby:derbynet:${derby.version}'
- provided 'mysql:mysql-connector-java:5.1.38'
- provided 'org.postgresql:postgresql:9.4.1208'
- provided 'org.xerial:sqlite-jdbc:${sqlite.version}'
- provided 'org.slf4j:slf4j-api:1.7.20'
- provided 'commons-pool:commons-pool:1.5.6'
- provided 'commons-dbcp:commons-dbcp:1.4'
- provided 'com.google.code.gson:gson:2.3'
- provided 'com.thoughtworks.xstream:xstream:1.4.9'
- provided 'org.yaml:snakeyaml:1.17'
- test 'junit'
- build 'jacoco'