generated from DuncanRuns/Jingle-Example-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
36 lines (28 loc) · 794 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
plugins {
id 'java'
id 'idea'
}
group = project.maven_group
version = project.plugin_version
archivesBaseName = project.archives_base_name
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url "https://www.jetbrains.com/intellij-repository/releases" }
}
compileJava {
options.compilerArgs << '-parameters'
}
dependencies {
// Choose Jingle version: https://jitpack.io/#DuncanRuns/Jingle/
implementation 'com.github.DuncanRuns:Jingle:eeb4291b13'
}
processResources {
// Totally stolen from Fabric
inputs.property "version", project.version
filesMatching("jingle.plugin.json") {
expand "version": project.version
}
}