build.gradle 685 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright 2015 The Go Authors. All rights reserved.
  3. * Use of this source code is governed by a BSD-style
  4. * license that can be found in the LICENSE file.
  5. */
  6. apply plugin: 'com.android.application'
  7. repositories {
  8. flatDir {
  9. dirs '.'
  10. }
  11. }
  12. android {
  13. compileSdkVersion 27
  14. defaultConfig {
  15. applicationId "org.golang.example.android"
  16. minSdkVersion 15
  17. targetSdkVersion 27
  18. versionCode 1
  19. versionName "1.0"
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled false
  24. }
  25. }
  26. }
  27. dependencies {
  28. implementation 'com.android.support:appcompat-v7:22.1.1'
  29. implementation (name:'hello', ext:'aar')
  30. }