-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
121 lines (103 loc) · 3.6 KB
/
build.gradle
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
111
112
113
114
115
116
117
118
119
120
121
// buildscript:
// Declare the dependencies of the gradle build scripts
// themselves.
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "com.github.node-gradle:gradle-node-plugin:3.1.1"
classpath "gradle.plugin.org.kravemir.gradle.sass:plugin:1.2.3"
classpath "gradle.plugin.com.hierynomus.gradle.plugins:license-gradle-plugin:0.15.0"
classpath "org.checkerframework:checkerframework-gradle-plugin:0.6.20"
classpath 'org.docstr:gwt-gradle-plugin:1.1.21'
}
}
// Define common versions of dependencies to use throughout the project, and
// define conflict resolution rules.
ext {
guavaVersion = '30.1-jre'
gwtVersion = '2.10.0'
libraries = [
guava: "com.google.guava:guava:${guavaVersion}",
gson: "com.google.code.gson:gson:2.9.0",
gwt:[
user: "com.google.gwt:gwt-user:${gwtVersion}",
servlet: "com.google.gwt:gwt-servlet:${gwtVersion}",
dev: "com.google.gwt:gwt-dev:${gwtVersion}",
i18nServer: 'net.lightoze.gwt-i18n-server:gwt-i18n-server:0.26',
guava: "com.google.guava:guava-gwt:${guavaVersion}",
jsinterop: 'com.google.jsinterop:jsinterop-annotations:2.0.0'
],
elemental: [
core: 'com.google.elemental2:elemental2-core:1.1.0',
dom: 'com.google.elemental2:elemental2-dom:1.1.0',
promise: 'com.google.elemental2:elemental2-promise:1.1.0',
indexeddb: 'com.google.elemental2:elemental2-indexeddb:1.1.0'
],
junit: 'org.junit.jupiter:junit-jupiter:5.8.2',
hamcrest: 'org.hamcrest:hamcrest-library:2.2'
]
}
allprojects {
version "0.1"
repositories {
mavenCentral()
}
}
allprojects {
apply plugin: 'com.github.hierynomus.license'
license {
header rootProject.file('COPYRIGHT')
strictCheck true
mapping {
java = 'SLASHSTAR_STYLE'
scss = 'SLASHSTAR_STYLE'
}
exclude "**/*.json"
exclude "**/*.txt"
exclude "**/*.md"
exclude "**/*.svg"
exclude "**/*.gif"
exclude "**/*.png"
exclude "**/*.jpeg"
exclude "**/*.svg.template"
exclude "**/*.xlsx"
exclude "**/*.xls"
exclude "**/*.bin"
exclude "**/*.csv"
exclude "**/*.webmanifest"
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
publishing {
publications {
maven(MavenPublication) {
groupId 'org.activityinfo.bukavu'
artifactId "bukavu-${project.name}"
from components.java
pom {
url = 'https://github.com/bedatadriven/bukavu'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
}
}
}
repositories {
maven {
name = "Repsy"
url = uri("https://repo.repsy.io/mvn/bedatadriven/activityinfo")
credentials {
username = project.findProperty("repsy.user") ?: System.getenv("USERNAME")
password = project.findProperty("repsy.key") ?: System.getenv("TOKEN")
}
}
}
}
}