github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/mobile/misc/androidstudio/build.gradle (about) 1 apply plugin: 'groovy' 2 3 // Many android users still use JDK7. 4 sourceCompatibility = '1.7' 5 targetCompatibility = '1.7' 6 7 buildscript { 8 repositories { 9 maven { 10 url "https://plugins.gradle.org/m2/" 11 } 12 } 13 dependencies { 14 classpath "com.gradle.publish:plugin-publish-plugin:0.9.1" 15 } 16 } 17 18 apply plugin: "com.gradle.plugin-publish" 19 repositories { 20 jcenter() 21 } 22 23 dependencies { 24 compile gradleApi() 25 compile localGroovy() 26 27 testCompile 'junit:junit:4.11' 28 } 29 30 pluginBundle { 31 website = 'https://golang.org/x/mobile' 32 vcsUrl = 'https://golang.org/x/mobile' 33 description = 'Plugin for gomobile projects (beta)' 34 version = '0.2.3' 35 36 plugins { 37 gobindPlugin { 38 id = 'org.golang.mobile.bind' 39 displayName = 'gomobile bind plugin' 40 tags = ['golang', 'gomobile', 'gobind'] 41 } 42 } 43 }