Files
Elias Naur 92f3b9caf7 misc,example/bind/hello: remove the Gradle plugin
And replace the plugin with instructions for rebuilding the .aar files
for the bind and ivy examples.

While here, fix a compile error in the Ivy example caused by gomobile
no longer prepending org.golang. to its generated Java packages by
default.

Fixes golang/go#25314
Fixes golang/go#28098
Fixes golang/go#25184

Change-Id: Iaccdd50850a185414ebcf21427cfd7f625c6a298
Reviewed-on: https://go-review.googlesource.com/c/141057
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2018-10-10 16:34:05 +00:00

35 lines
685 B
Groovy

/*
* Copyright 2015 The Go Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
apply plugin: 'com.android.application'
repositories {
flatDir {
dirs '.'
}
}
android {
compileSdkVersion 27
defaultConfig {
applicationId "org.golang.example.android"
minSdkVersion 15
targetSdkVersion 27
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
}
}
}
dependencies {
implementation 'com.android.support:appcompat-v7:22.1.1'
implementation (name:'hello', ext:'aar')
}