You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 line
543 B

  1. apply plugin : "java"
  2. apply plugin : 'eclipse'
  3. allprojects {
  4. apply plugin: 'maven'
  5. group = 'org.jeecg'
  6. version = '2.3.0'
  7. }
  8. subprojects {
  9. apply plugin: 'java'
  10. sourceCompatibility = 1.7
  11. targetCompatibility = 1.7
  12. [compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8'
  13. task packageSources(type: Jar) {
  14. classifier = 'sources'
  15. from sourceSets.main.allSource
  16. }
  17. artifacts.archives packageSources
  18. repositories {
  19. mavenLocal()
  20. maven { url 'http://maven.oschina.net/content/groups/public/' }
  21. }
  22. }