Skip to content

Instantly share code, notes, and snippets.

@Gitmoko
Last active February 2, 2019 10:03
Show Gist options
  • Save Gitmoko/f324c11fbcd78f09066270ea159678c5 to your computer and use it in GitHub Desktop.
Save Gitmoko/f324c11fbcd78f09066270ea159678c5 to your computer and use it in GitHub Desktop.
josm plugin gradleテスト
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* user guide available at https://docs.gradle.org/5.1.1/userguide/java_library_plugin.html
*/
plugins {
// Apply the java-library plugin to add support for Java Library
id 'java-library'
id 'eclipse'
id 'org.openstreetmap.josm' version '0.6.0'
}
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
dependencies {
// This dependency is exported to consumers, that is to say found on their compile classpath.
api 'org.apache.commons:commons-math3:3.6.1'
// This dependency is used internally, and not exposed to consumers on their own compile classpath.
implementation 'com.google.guava:guava:26.0-jre'
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
}
version = 'v1.2.3'
archivesBaseName = 'MyPlugin'
josm {
debugPort = 54018
josmCompileVersion = 13959
manifest {
description = 'The description of my awesome plugin'
mainClass = 'gradlejava.MyPlugin'
minJosmVersion = 13957
// author = 'John Doe'
// canLoadAtRuntime = true
// iconPath = 'path/to/my/icon.svg'
// loadEarly = false
// loadPriority = 50
// pluginDependencies << 'apache-commons' << 'apache-http'
// website = new URL('https://example.org')
// oldVersionDownloadLink 123, 'v1.2.0', new URL('https://example.org/download/v1.2.0/MyAwesomePlugin.jar')
// oldVersionDownloadLink 42, 'v1.0.0', new URL('https://example.org/download/v1.0.0/MyAwesomePlugin.jar')
}
// i18n {
// bugReportEmail = 'me@example.com'
// copyrightHolder = 'John Doe'
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment