2015-07-22 16:56:39 -04:00
|
|
|
apply plugin: 'groovy'
|
|
|
|
|
2015-07-30 13:41:20 -04:00
|
|
|
// Many android users still use JDK7.
|
|
|
|
sourceCompatibility = '1.7'
|
|
|
|
targetCompatibility = '1.7'
|
|
|
|
|
2015-07-22 16:56:39 -04:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
url "https://plugins.gradle.org/m2/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath "com.gradle.publish:plugin-publish-plugin:0.9.1"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: "com.gradle.plugin-publish"
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile gradleApi()
|
|
|
|
compile localGroovy()
|
|
|
|
|
|
|
|
testCompile 'junit:junit:4.11'
|
|
|
|
}
|
|
|
|
|
|
|
|
pluginBundle {
|
2015-07-30 13:41:20 -04:00
|
|
|
website = 'https://golang.org/x/mobile'
|
|
|
|
vcsUrl = 'https://golang.org/x/mobile'
|
2015-07-22 16:56:39 -04:00
|
|
|
description = 'Plugin for gomobile projects (beta)'
|
2015-09-10 15:18:30 -04:00
|
|
|
version = '0.2.3'
|
2015-07-22 16:56:39 -04:00
|
|
|
|
|
|
|
plugins {
|
|
|
|
gobindPlugin {
|
|
|
|
id = 'org.golang.mobile.bind'
|
|
|
|
displayName = 'gomobile bind plugin'
|
|
|
|
tags = ['golang', 'gomobile', 'gobind']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|