forked from vaadin/sass-compiler
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
77 lines (70 loc) · 2.2 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
plugins {
id 'maven-publish'
id 'signing'
id 'java'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
mavenCentral()
}
dependencies {
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.jsoup:jsoup:1.6.3'
testImplementation 'commons-io:commons-io:2.2'
}
java {
withJavadocJar()
withSourcesJar()
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'de.inetsoftware'
artifactId = 'sass-compiler'
version = '1.3'
from components.java
pom {
name = 'Java Sass Compiler'
description = 'A Sass compiler written completely in Java (pure Java).'
url = 'https://github.com/i-net-software/sass-compiler'
licenses {
license {
name = 'The Apache License, Version 2.0'
url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
developers {
developer {
id = 'Horcrux7'
name = 'Volker Berlin'
email = 'vberlin@inetsoftware.de'
organization = 'i-net software'
organizationUrl = 'https://www.inetsoftware.de'
}
}
scm {
connection = 'scm:git:git@github.com:i-net-software/sass-compiler.git'
developerConnection = 'scm:git:git@github.com:i-net-software/sass-compiler.git'
url = 'https://github.com/i-net-software/sass-compiler'
}
}
}
}
repositories {
maven {
name = 'sonatype'
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = project.findProperty("ossrhUsername")
password = project.findProperty("ossrhPassword")
}
}
}
}
signing {
required { project.hasProperty("signing.keyId") }
sign publishing.publications.maven
}