-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
48 lines (37 loc) · 1.21 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
plugins {
id 'java'
id 'maven-publish'
//id "org.teavm" version "0.8.0-dev-2"
}
group = 'com.reportmill'
version = '1.0'
sourceSets.main.java.srcDirs = ['src']
sourceSets.main.resources.srcDirs = ['src']
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenCentral()
// Maven package repository for latest TeaVM
maven { url 'https://teavm.org/maven/repository' }
}
// TeaVM version
project.ext.teavmVersion = "0.7.0-dev-1209"
//project.ext.teavmVersion = "0.8.0-dev-2"
dependencies {
// SnapKit (assumed to be peer module)
implementation project(':SnapKit')
// TeaVM (might also want 'teavm-devserver', 'jso', 'jso-apis', 'classlib')
implementation group: 'org.teavm', name: 'teavm-cli', version: "$teavmVersion"
//implementation files('/Users/Temp/teavm/tools/cli/build/libs/cli-0.8.0-SNAPSHOT-all.jar')
//implementation group: 'org.teavm', name: 'teavm-classlib', version: "$teavmVersion"
//implementation group: 'org.teavm', name: 'teavm-jso-apis', version: "$teavmVersion"
}
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}