forked from OnapleRPG/Storyteller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (37 loc) · 994 Bytes
/
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
plugins {
id 'org.spongepowered.plugin' version '0.8.1'
id "org.sonarqube" version "2.5"
}
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'org.spongepowered.plugin'
sourceCompatibility = 1.8
targetCompatibility = 1.8
publishing {
publications {
maven(MavenPublication) {
groupId 'com.ylinor'
artifactId 'storyteller'
version '0.0.1'
from components.java
}
}
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
dependencies {
compile 'org.spongepowered:spongeapi:7.0.0'
compile 'org.xerial:sqlite-jdbc:3.7.2'
testCompile "junit:junit:4.11"
compile 'com.github.Ylinor:Itemizer:-SNAPSHOT'
}
sonarqube {
properties {
property "sonar.projectName", "Itemizer"
property "sonar.organization", "ylinor-github"
property "sonar.host.url", "https://sonarcloud.io/"
}
}