Created
September 11, 2015 14:22
-
-
Save confile/b3f3b5eb0a17b9c42a66 to your computer and use it in GitHub Desktop.
This file contains hidden or 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' | |
apply from: 'native.gradle' | |
sourceCompatibility = 1.7 | |
version = '1.0' | |
eclipse { | |
classpath { | |
downloadSources=true | |
downloadJavadoc=true | |
} | |
} | |
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.4.3-alpha-SNAPSHOT.jar') | |
} | |
} | |
dependencies { | |
} | |
// J2ObjC Plugin settings: | |
j2objcConfig { | |
translateArgs "--no-package-directories" | |
translateArgs "--prefixes", "prefixes.properties" | |
translateArgs "-use-arc" | |
translateArgs "--doc-comments" | |
translateArgs "--generate-deprecated" | |
extraObjcCompilerArgs '-fobjc-arc' | |
testMinExpectedTests 0 | |
translatePattern { | |
exclude '**/sqlighter*' | |
} | |
finalConfigure() // Must be last call to configuration | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment