-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (44 loc) · 1.23 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.10'
id "maven-publish"
}
group 'io.github.rusticflare'
version '0.0'
repositories {
mavenCentral()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation "com.sksamuel.scrimage:scrimage-core:4.0.5"
testImplementation 'io.kotest:kotest-runner-junit5-jvm:4.2.0'
testImplementation 'io.kotest:kotest-assertions-core-jvm:4.2.0'
}
compileKotlin.kotlinOptions.jvmTarget = "1.8"
compileTestKotlin.kotlinOptions.jvmTarget = "1.8"
test {
useJUnitPlatform()
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'io.github.rusticflare'
artifactId = 'square-canvas'
version = "0.0.1"
from components.java
pom {
name = 'Square Canvas'
description = 'A library for making square photos'
}
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/RusticFlare/square-canvas"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}