Fixes golang/go#12543 Change-Id: Ifb91e073ff2ebcba111e279949d5120a77b0dc2d Reviewed-on: https://go-review.googlesource.com/14475 Reviewed-by: David Crawshaw <crawshaw@golang.org>
44 lines
813 B
Groovy
44 lines
813 B
Groovy
apply plugin: 'groovy'
|
|
|
|
// Many android users still use JDK7.
|
|
sourceCompatibility = '1.7'
|
|
targetCompatibility = '1.7'
|
|
|
|
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 {
|
|
website = 'https://golang.org/x/mobile'
|
|
vcsUrl = 'https://golang.org/x/mobile'
|
|
description = 'Plugin for gomobile projects (beta)'
|
|
version = '0.2.3'
|
|
|
|
plugins {
|
|
gobindPlugin {
|
|
id = 'org.golang.mobile.bind'
|
|
displayName = 'gomobile bind plugin'
|
|
tags = ['golang', 'gomobile', 'gobind']
|
|
}
|
|
}
|
|
}
|