Guest User

Untitled

a guest
Feb 22nd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.49 KB | None | 0 0
  1. apply plugin: 'java'
  2. apply plugin: 'kotlin'
  3.  
  4. sourceCompatibility = "1.8"
  5. targetCompatibility = "1.8"
  6.  
  7. buildscript {
  8. ext.kotlin_version = '1.2.10'
  9. repositories {
  10. mavenCentral()
  11. }
  12. dependencies {
  13. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
  14. }
  15. }
  16. repositories {
  17. mavenCentral()
  18. }
  19. compileKotlin {
  20. kotlinOptions {
  21. jvmTarget = "1.8"
  22. }
  23. }
  24. compileTestKotlin {
  25. kotlinOptions {
  26. jvmTarget = "1.8"
  27. }
  28. }
  29.  
  30. dependencies {
  31. implementation fileTree(include: ['*.jar'], dir: 'libs')
  32. implementation "io.reactivex.rxjava2:rxjava:$project.ext.rxJavaVersion"
  33. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
  34. implementation "junit:junit:$project.ext.junitVersion"
  35. implementation "org.mockito:mockito-core:$project.ext.mockitoVersion"
  36. implementation "com.google.truth:truth:$project.ext.truthVersion"
  37. }
  38.  
  39. <?xml version="1.0" encoding="UTF-8"?>
  40. <module external.linked.project.id=":domain" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" type="JAVA_MODULE" version="4">
  41. <component name="FacetManager">
  42. <facet type="android-gradle" name="Android-Gradle">
  43. <configuration>
  44. <option name="GRADLE_PROJECT_PATH" value=":domain" />
  45. </configuration>
  46. </facet>
  47. <facet type="java-gradle" name="Java-Gradle">
  48. <configuration>
  49. <option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" />
  50. <option name="BUILDABLE" value="true" />
  51. </configuration>
  52. </facet>
  53. <facet type="kotlin-language" name="Kotlin">
  54. <configuration version="3" platform="JVM 1.8" useProjectSettings="false">
  55. <compilerSettings />
  56. <compilerArguments>
  57. <option name="destination" value="$MODULE_DIR$/build/classes/kotlin/main" />
  58. <option name="noStdlib" value="true" />
  59. <option name="noReflect" value="true" />
  60. <option name="moduleName" value="domain" />
  61. <option name="jvmTarget" value="1.8" />
  62. <option name="addCompilerBuiltIns" value="true" />
  63. <option name="loadBuiltInsFromDependencies" value="true" />
  64. <option name="languageVersion" value="1.2" />
  65. <option name="apiVersion" value="1.2" />
  66. <option name="pluginOptions">
  67. <array />
  68. </option>
  69. <option name="pluginClasspaths">
  70. <array />
  71. </option>
  72. </compilerArguments>
  73. </configuration>
  74. </facet>
  75. </component>
  76. <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
  77. <output url="file://$MODULE_DIR$/build/classes/java/main" />
  78. <output-test url="file://$MODULE_DIR$/build/classes/java/test" />
  79. <exclude-output />
  80. <content url="file://$MODULE_DIR$">
  81. <sourceFolder url="file://$MODULE_DIR$/src/main/kotlin" isTestSource="false" />
  82. <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
  83. <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
  84. <sourceFolder url="file://$MODULE_DIR$/src/test/kotlin" isTestSource="true" />
  85. <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
  86. <sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
  87. <excludeFolder url="file://$MODULE_DIR$/.gradle" />
  88. <excludeFolder url="file://$MODULE_DIR$/build" />
  89. </content>
  90. <orderEntry type="inheritedJdk" />
  91. <orderEntry type="sourceFolder" forTests="false" />
  92. <orderEntry type="library" exported="" scope="PROVIDED" name="rxjava-2.1.6" level="project" />
  93. <orderEntry type="library" exported="" scope="PROVIDED" name="kotlin-stdlib-jdk8-1.2.10" level="project" />
  94. <orderEntry type="library" exported="" scope="PROVIDED" name="truth-0.39" level="project" />
  95. <orderEntry type="library" exported="" scope="PROVIDED" name="junit-4.12" level="project" />
  96. <orderEntry type="library" exported="" scope="PROVIDED" name="mockito-core-2.8.9" level="project" />
  97. <orderEntry type="library" exported="" scope="PROVIDED" name="reactive-streams-1.0.1" level="project" />
  98. <orderEntry type="library" exported="" scope="PROVIDED" name="kotlin-stdlib-jdk7-1.2.10" level="project" />
  99. <orderEntry type="library" exported="" scope="PROVIDED" name="kotlin-stdlib-1.2.10" level="project" />
  100. <orderEntry type="library" exported="" scope="PROVIDED" name="hamcrest-core-1.3" level="project" />
  101. <orderEntry type="library" exported="" scope="PROVIDED" name="byte-buddy-1.6.14" level="project" />
  102. <orderEntry type="library" exported="" scope="PROVIDED" name="byte-buddy-agent-1.6.14" level="project" />
  103. <orderEntry type="library" exported="" scope="PROVIDED" name="objenesis-2.5" level="project" />
  104. <orderEntry type="library" exported="" scope="PROVIDED" name="guava-23.4-android" level="project" />
  105. <orderEntry type="library" exported="" scope="PROVIDED" name="error_prone_annotations-2.1.3" level="project" />
  106. <orderEntry type="library" exported="" scope="PROVIDED" name="annotations-13.0" level="project" />
  107. <orderEntry type="library" exported="" scope="PROVIDED" name="jsr305-1.3.9" level="project" />
  108. <orderEntry type="library" exported="" scope="PROVIDED" name="j2objc-annotations-1.1" level="project" />
  109. <orderEntry type="library" exported="" scope="PROVIDED" name="animal-sniffer-annotations-1.14" level="project" />
  110. </component>
  111. </module>
  112.  
  113. defaultConfig {
  114. applicationId "bel.mobile.domain"
  115. testApplicationId "bel.mobile.domain.test"
  116. ...
  117. }
Add Comment
Please, Sign In to add comment