mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-18 11:19:31 +00:00
59 lines
1.8 KiB
Groovy
59 lines
1.8 KiB
Groovy
import minetweaker.tasks.RegisterZenClassesTask;
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'maven'
|
|
|
|
version = ext.mineTweakerVersion
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
task makeRegistry(type: RegisterZenClassesTask) {
|
|
inputDir = file('build/classes/main')
|
|
outputDir = file('build/classes/main')
|
|
className = 'minetweaker.ClassRegistry'
|
|
}
|
|
|
|
tasks.jar.dependsOn(makeRegistry)
|
|
|
|
dependencies {
|
|
dependencies {
|
|
compile project(':ZenScript')
|
|
}
|
|
}
|
|
|
|
uploadArchives {
|
|
repositories {
|
|
mavenDeployer {
|
|
repository(url: "file://" + System.getenv("local_maven"))
|
|
pom {
|
|
groupId = project.group
|
|
version
|
|
artifactId = project.archivesBaseName
|
|
project {
|
|
name project.archivesBaseName
|
|
packaging 'jar'
|
|
description 'CraftTweaker'
|
|
url 'https://github.com/jaredlll08/CraftTweaker'
|
|
scm {
|
|
url 'https://github.com/jaredlll08/CraftTweaker.git'
|
|
connection 'scm:git:[email protected]:jaredlll08/CraftTweaker.git'
|
|
developerConnection 'scm:git:[email protected]:jaredlll08/CraftTweaker.git'
|
|
}
|
|
issueManagement {
|
|
system 'github'
|
|
url 'https://github.com/jaredlll08/CraftTweaker/issues'
|
|
}
|
|
developers {
|
|
developer {
|
|
id 'Jared'
|
|
name 'Jared'
|
|
roles { role 'developer' }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|