2
0
mirror of synced 2025-02-23 23:08:14 +00:00
mobile/misc/androidstudio/build.gradle
Hyang-Ah Hana Kim 2e1e39e5a6 misc/androidstudio: release gobind gradle plugin 0.2.4
That supports GOARCH property.

Also this CL updates examples and upgrades the android gradle plugin
used in examples (from 1.2.3 to 1.5.0)

For golang/go#12819

Change-Id: Ibfed128eaf725775810aa539bd5c0e1ca88f1b85
Reviewed-on: https://go-review.googlesource.com/20331
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2016-03-08 02:06:34 +00:00

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.4'
plugins {
gobindPlugin {
id = 'org.golang.mobile.bind'
displayName = 'gomobile bind plugin'
tags = ['golang', 'gomobile', 'gobind']
}
}
}