thufir

Untitled

Jan 16th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Groovy 1.92 KB | None | 0 0
  1.  
  2. apply plugin: 'java'
  3. apply plugin: 'maven'
  4. apply plugin: 'application'
  5.  
  6. String mavenGroupId = 'thufir'
  7. String mavenVersion = '1.0-SNAPSHOT'
  8.  
  9. sourceCompatibility = '1.8'
  10. [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
  11.  
  12.  
  13. // NetBeans will automatically add "run" and "debug" tasks relying on the
  14. // "mainClass" property. You may however define the property prior executing
  15. // tasks by passing a "-PmainClass=<QUALIFIED_CLASS_NAME>" argument.
  16. //
  17. // Note however, that you may define your own "run" and "debug" task if you
  18. // prefer. In this case NetBeans will not add these tasks but you may rely on
  19. // your own implementation.
  20.  
  21.  
  22. mainClassName = 'net.bounceme.dur.nfl.Run'
  23.  
  24. if (!hasProperty('mainClass')) {
  25.     ext.mainClass = 'net.bounceme.dur.nfl.Run'
  26. }
  27.  
  28. repositories {
  29.  //   mavenCentral()
  30.     // You may define additional repositories, or even remove "mavenCentral()".
  31.     // Read more about repositories here:
  32.     //   http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:repositories
  33. maven{
  34. url "https://plugins.gradle.org/m2/"}
  35. }
  36.  
  37. dependencies {
  38.     //TODO: Add dependencies here ...
  39.     //You can read more about how to add dependency here:
  40.     //http://www.gradle.org/docs/current/userguide/dependency_management.html#sec:how_to_declare_your_dependencies
  41.     //testCompile group: 'junit', name: 'junit', version: '4.10'
  42. //    compile 'com.google.api-client:google-api-client:1.20.0'
  43. //  classpath "gradle.plugin.com.github.rzabini:gradle-jython:1.0.2"
  44.     compile "gradle.plugin.com.github.rzabini:gradle-jython:1.0.2"
  45. }
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.     sourceSets {
  53.         main {
  54.             manifest.srcFile 'AndroidManifest.xml'
  55.          //   java.srcDirs = ['src']
  56. //            resources.srcDirs = ['src']
  57.   //          aidl.srcDirs = ['src']
  58.     //        renderscript.srcDirs = ['src']
  59.       //      res.srcDirs = ['res']
  60.         //    assets.srcDirs = ['assets']
  61.         }
Advertisement
Add Comment
Please, Sign In to add comment