-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
50 lines (39 loc) · 1.22 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
plugins {
id "org.cadixdev.licenser" version "0.5.0"
}
def runNumber = System.getenv("GITHUB_RUN_NUMBER") ?: "9999"
allprojects {
apply plugin: "java-library"
apply plugin: "maven-publish"
apply plugin: "org.cadixdev.licenser"
ext {
baseVersion = "1.4"
}
license {
header = rootProject.file("HEADER")
ext {
name = "architectury"
year = "2021"
}
include "**/*.java"
exclude "**/TinyReader.java"
ignoreFailures = true
}
group "dev.architectury"
version "$baseVersion.$runNumber"
archivesBaseName = "mappings-layers-" + project.name
repositories {
mavenCentral()
maven { url "https://maven.fabricmc.net/" }
maven { url "https://maven.architectury.dev/" }
}
dependencies {
implementation "commons-io:commons-io:2.8.0"
implementation "com.google.guava:guava:30.1-jre"
implementation "net.fabricmc:tiny-mappings-parser:0.3.0+build.17"
implementation "dev.architectury:refmap-remapper:1.0.5"
compileOnly "org.jetbrains:annotations:20.1.0"
}
}
task licenseFormatAll
subprojects { p -> licenseFormatAll.dependsOn("${p.path}:licenseFormat") }