Cross Reference: build.gradle
xref: /external/okhttp/build.gradle
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Download
  • only in build.gradle
build.gradle revision b53d69475129c0437985833454eb1ddec8cd5e82
104e5463d2081145b9749345e7a7f86a2c09ea302Justin Moreyapply plugin: 'java'
204e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey
304e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey// static version of okhttp for inclusion in apps targeting older releases
404e5463d2081145b9749345e7a7f86a2c09ea302Justin MoreysourceSets {
504e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey    main {
604e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey        java {
704e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey            srcDirs = [
8b53d69475129c0437985833454eb1ddec8cd5e82Justin Morey                'src/main/java',
904e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey            ]
1004e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey        }
1104e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey    }
1204e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey}
1304e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey
1404e5463d2081145b9749345e7a7f86a2c09ea302Justin MoreycompileJava {
1504e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey    options.compilerArgs += ['-encoding', 'UTF-8']
1604e5463d2081145b9749345e7a7f86a2c09ea302Justin Morey}
17

Indexes created Fri Mar 13 02:32:08 CET 2015