-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
51 lines (42 loc) · 997 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
45
46
47
48
49
50
51
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'maven-publish'
id 'java-library'
id "io.freefair.github.package-registry-maven-publish" version "4.1.2"
}
github {
slug = "Dev-Osmium/text-adventure-engine"
username = project.properties["ghUsername"]?.toString()
token = project.properties["ghToken"]?.toString()
}
repositories {
mavenLocal()
maven {
url = 'https://repo1.maven.org/maven2'
}
maven {
url = 'https://maven.pkg.github.com/Dev-Osmium'
}
}
dependencies {
compile 'org.slf4j:slf4j-api:1.7.25'
runtime 'ch.qos.logback:logback-classic:1.2.3'
testCompile 'junit:junit:4.11'
}
group = 'xyz.devosmium.games'
version = '1.1-SNAPSHOT'
description = 'textadventure'
sourceCompatibility = '1.8'
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}