2
0
mirror of synced 2025-02-24 07:18:15 +00:00
mobile/misc/androidstudio/build.gradle
Hana Kim df6b37ba82 misc/androidstudio: release gradle plugin 0.2.6
Also
- include a properties file for org.golang.mobile.bind.canary
which is used to canary before release.
- update example/bind/android gradle config.

Change-Id: I1dd0ff94a772b287a2f9be1a915ea72b1c3b0d52
Reviewed-on: https://go-review.googlesource.com/23678
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2016-06-02 18:18:59 +00:00

45 lines
805 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.4"
}
}
apply plugin: "com.gradle.plugin-publish"
repositories {
jcenter()
}
dependencies {
compile gradleApi()
compile localGroovy()
testCompile 'junit:junit:4.11'
}
version = '0.2.6'
pluginBundle {
website = 'https://golang.org/x/mobile'
vcsUrl = 'https://golang.org/x/mobile'
description = 'Plugin for gomobile projects'
plugins {
gobindPlugin {
id = 'org.golang.mobile.bind'
displayName = 'gomobile bind plugin'
tags = ['golang', 'gomobile', 'gobind']
}
}
}