Created
June 30, 2015 06:24
-
-
Save confile/bfadfdc00fc7ef85fd90 to your computer and use it in GitHub Desktop.
majestella-base build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
apply plugin: 'eclipse' | |
apply plugin: 'com.github.j2objccontrib.j2objcgradle' | |
sourceCompatibility = 1.7 | |
version = '1.0' | |
buildscript { | |
repositories { | |
mavenCentral() | |
jcenter() | |
maven { | |
url "https://oss.sonatype.org/content/repositories/snapshots/" | |
} | |
maven { | |
url uri('../../0Gradle-Repo') | |
} | |
} | |
dependencies { | |
classpath files('/Users/mg/Downloads/j2objc-gradle/build/libs/j2objc-gradle-0.2.2-alpha.jar') | |
} | |
} | |
repositories { | |
mavenCentral() | |
maven { | |
name = "sonatype" | |
url = "https://oss.sonatype.org/content/repositories/snapshots/" | |
} | |
flatDir { | |
dirs 'lib' | |
} | |
} | |
dependencies { | |
// for Annotation Processor | |
compile 'com.google.auto.service:auto-service:1.0-rc2' | |
compile 'com.google.auto.factory:auto-factory:1.0-beta2' | |
compile 'com.squareup:javapoet:1.0.0' | |
compile 'com.google.dagger:dagger:2.0' | |
compile 'org.json:json:20140107' | |
compile 'javax.inject:javax.inject:1' | |
compile 'com.google.guava:guava:14.0.1' | |
compile name: 'j2objc_annotations' | |
} | |
jar { | |
from sourceSets.main.allSource | |
} | |
j2objcConfig { | |
translatePattern { | |
exclude '**/*processor*' | |
} | |
finalConfigure() | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment