-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (52 loc) · 1.58 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
plugins {
id("org.jetbrains.kotlin.jvm") version "1.4.0"
id 'org.jetbrains.kotlin.plugin.serialization' version '1.4.0'
id "maven-publish"
id 'java-gradle-plugin'
id "com.gradle.plugin-publish" version "0.11.0"
}
repositories {
mavenCentral()
maven {
url "https://dl.bintray.com/febb/maven"
}
maven { url = "https://maven.fabricmc.net/" }
jcenter()
mavenLocal()
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation gradleApi()
// implementation("io.github.febb:abstractor:$abstractor_version")
implementation("io.github.febb:metautils:0.2.1+build.+")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.0.0-RC") // JVM dependency
implementation "net.fabricmc:fabric-loom:0.5-SNAPSHOT"
implementation("org.ow2.asm:asm:8.0.1")
implementation("org.ow2.asm:asm-all:5.2")
}
gradlePlugin {
plugins {
febbGradle {
id = 'io.github.febb.febbgradle'
implementationClass = 'febb.FebbGradle'
}
}
}
pluginBundle {
website = 'https://github.com/IridisMC/FebbGradle'
vcsUrl = 'https://github.com/IridisMC/FebbGradle'
description = 'Allows building febb mods'
tags = ['fabric', 'forge','febb']
plugins {
febbGradle {
// id is captured from java-gradle-plugin configuration
displayName = 'FebbGradle'
}
}
}
group 'io.github.febb'
version '1.1.3'
archivesBaseName = "febbgradle"
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
kotlinOptions.jvmTarget = "1.8"
}