Comments (5)
Okay I used javac first and found the error a lib was missing:
translateFlags "--no-package-directories --prefixes prefixes.properties --mapping method-mappings.properties -use-arc -classpath ${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT-sources.jar:${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT.jar"
Is is possible to split the translateFlags over more than one line?
from j2objc-gradle.
The answer is only a Google search away ;-)
http://mrhaki.blogspot.com/2010/11/groovy-goodness-string-continuation.html
On Wed Feb 11 2015 at 1:32:55 PM Confile [email protected] wrote:
Okay I used javac first and found the error a lib was missing:
translateFlags "--no-package-directories --prefixes prefixes.properties --mapping method-mappings.properties -use-arc -classpath ${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT-sources.jar:${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT.jar"
Is is possible to split the translateFlags over more than one line?
—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/7#issuecomment-73969248
.
from j2objc-gradle.
Thank you. Is there a way to set the classpath lib from dependencies section. For example if you have:
dependencies {
compile 'com.google.dagger:dagger:2.0-SNAPSHOT'
}
do I have to link to the local jar file or is there any shortcut?
from j2objc-gradle.
I tried this:
translateFlags "--no-package-directories --prefixes prefixes.properties --mapping method-mappings.properties -use-arc\
-classpath ${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT-sources.jar: ${projectDir}/lib/realtime-json-0.5.5-SNAPSHOT.jar"
but it did not work so I switched to the """ notation for multi row Strings.
from j2objc-gradle.
Fixed now.
from j2objc-gradle.
Related Issues (20)
- Possible to add *junit* to *spec.libraries* in generated podspec? HOT 1
- Setting xcodeTargetsManualConfig to false for a multi-module project fails HOT 2
- Translation fails to link dependencies HOT 1
- Possible to run an Android build whilst skipping all tasks of the J2ObjC Gradle plugin?
- Extracting resources from source jars HOT 1
- Does not convert app android to Ios HOT 5
- Stripping reflection applies to and breaks tests
- Need to add Guava headers to native compile header search path HOT 2
- Latest version of the Android Plugin for Gradle (2.0.0) requires Gradle 2.10 or later HOT 2
- Test source cannot be moved from default location
- Require way to set extended podspec values HOT 1
- I wrote a few gradle tasks to generate `name.framework`, without pods, >3 votes -> pull request HOT 7
- How to verify translated objective c unit tests ran successfully? HOT 1
- Regexp does not remove zeros at the beginning
- j2objcTestDebug is stuck when prefixes specified HOT 1
- Is this project still active? HOT 3
- Could not compile Source project with createIos_arm64
- How to install or implement in Android studio ??? HOT 1
- Test issue
- rat checks fail with basic $ ./gradlew check on mac HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from j2objc-gradle.