Comments (7)
This is very interesting Advay. We should discuss this in person when we
meet up.
On Tue, May 19, 2015 at 10:48 PM Advay Mengle [email protected]
wrote:
I don't use Xcode directly**, instead I prefer to use the Gradle wrapper
for Xcode clang toolchain.
See https://docs.gradle.org/current/userguide/nativeBinaries.htmlAll functionality (that I need at least) of both j2objcc and Xcode pods
can be done in Gradle directly. So I'm basically using the j2objcTranslate
functionality, and then doing the rest in gradle (without j2objcTest or
xcode pods). My current setup is at:
https://gist.github.com/advayDev1/636f34fa80164645e205
This sets up normal Gradle tasks for building my objc libraries, building
test executables, and running tests.I think folks might want to use Xcode pods or Gradle builds, and the core
plugin probably should not enforce either. Neither actually are very
coupled to j2objc, which is purely translation. I propose we have a tools/
subdirectory or similar that supports pods and gradle native builds, so
users can choose what they want.** For many reasons, most importantly:
- Xcode doesn't handle non-flat source directories very well.
- I prefer to use one build toolchain (and one IDE when needed,
IDEA/Android Studio) without denormalization/duplication of configuration.- Using a single Gradle build ensures a single presubmit/build command
builds and tests all platforms and all flavors of my projects.—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/76.
from j2objc-gradle.
@brunobowden Yep will do.
@confile pointed out that perhaps we should be directly using pods on another issue, without the raw copy. This issue addresses yet another alternative. Maybe we can continue the discussion here.
from j2objc-gradle.
btw, i upgraded one of my projects to gradle 2.4 today and using native
clang compiler is way faster/more parallel (and gets incremental build
correct) than exec-ing j2objcc (for the j2objcCompile task)...
On Wed, May 20, 2015 at 3:31 PM Bruno Bowden [email protected]
wrote:
This is very interesting Advay. We should discuss this in person when we
meet up.On Tue, May 19, 2015 at 10:48 PM Advay Mengle [email protected]
wrote:I don't use Xcode directly**, instead I prefer to use the Gradle wrapper
for Xcode clang toolchain.
See https://docs.gradle.org/current/userguide/nativeBinaries.htmlAll functionality (that I need at least) of both j2objcc and Xcode pods
can be done in Gradle directly. So I'm basically using the
j2objcTranslate
functionality, and then doing the rest in gradle (without j2objcTest or
xcode pods). My current setup is at:
https://gist.github.com/advayDev1/636f34fa80164645e205
This sets up normal Gradle tasks for building my objc libraries, building
test executables, and running tests.I think folks might want to use Xcode pods or Gradle builds, and the core
plugin probably should not enforce either. Neither actually are very
coupled to j2objc, which is purely translation. I propose we have a
tools/
subdirectory or similar that supports pods and gradle native builds, so
users can choose what they want.** For many reasons, most importantly:
- Xcode doesn't handle non-flat source directories very well.
- I prefer to use one build toolchain (and one IDE when needed,
IDEA/Android Studio) without denormalization/duplication of
configuration.- Using a single Gradle build ensures a single presubmit/build command
builds and tests all platforms and all flavors of my projects.—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/76.—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/76#issuecomment-104062500
.
from j2objc-gradle.
Can you make this an option? Then we can consider switching it to the
default over time.
On Sun, May 31, 2015 at 5:12 PM Advay Mengle [email protected]
wrote:
btw, i upgraded one of my projects to gradle 2.4 today and using native
clang compiler is way faster/more parallel (and gets incremental build
correct) than exec-ing j2objcc (for the j2objcCompile task)...On Wed, May 20, 2015 at 3:31 PM Bruno Bowden [email protected]
wrote:This is very interesting Advay. We should discuss this in person when we
meet up.On Tue, May 19, 2015 at 10:48 PM Advay Mengle [email protected]
wrote:I don't use Xcode directly**, instead I prefer to use the Gradle
wrapper
for Xcode clang toolchain.
See https://docs.gradle.org/current/userguide/nativeBinaries.htmlAll functionality (that I need at least) of both j2objcc and Xcode pods
can be done in Gradle directly. So I'm basically using the
j2objcTranslate
functionality, and then doing the rest in gradle (without j2objcTest or
xcode pods). My current setup is at:
https://gist.github.com/advayDev1/636f34fa80164645e205
This sets up normal Gradle tasks for building my objc libraries,
building
test executables, and running tests.I think folks might want to use Xcode pods or Gradle builds, and the
core
plugin probably should not enforce either. Neither actually are very
coupled to j2objc, which is purely translation. I propose we have a
tools/
subdirectory or similar that supports pods and gradle native builds, so
users can choose what they want.** For many reasons, most importantly:
- Xcode doesn't handle non-flat source directories very well.
- I prefer to use one build toolchain (and one IDE when needed,
IDEA/Android Studio) without denormalization/duplication of
configuration.- Using a single Gradle build ensures a single presubmit/build command
builds and tests all platforms and all flavors of my projects.—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/76.—
Reply to this email directly or view it on GitHub
<
https://github.com/brunobowden/j2objc-gradle/issues/76#issuecomment-104062500.
—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/76#issuecomment-107261781
.
from j2objc-gradle.
I'll document some stuff for our Tuesday get together and we can decide
whether it is the way to go. SG?
On Sun, May 31, 2015, 5:17 PM Bruno Bowden [email protected] wrote:
Can you make this an option? Then we can consider switching it to the
default over time.On Sun, May 31, 2015 at 5:12 PM Advay Mengle [email protected]
wrote:btw, i upgraded one of my projects to gradle 2.4 today and using native
clang compiler is way faster/more parallel (and gets incremental build
correct) than exec-ing j2objcc (for the j2objcCompile task)...On Wed, May 20, 2015 at 3:31 PM Bruno Bowden [email protected]
wrote:This is very interesting Advay. We should discuss this in person when
we
meet up.On Tue, May 19, 2015 at 10:48 PM Advay Mengle <
[email protected]>
wrote:I don't use Xcode directly**, instead I prefer to use the Gradle
wrapper
for Xcode clang toolchain.
See https://docs.gradle.org/current/userguide/nativeBinaries.htmlAll functionality (that I need at least) of both j2objcc and Xcode
pods
can be done in Gradle directly. So I'm basically using the
j2objcTranslate
functionality, and then doing the rest in gradle (without j2objcTest
or
xcode pods). My current setup is at:
https://gist.github.com/advayDev1/636f34fa80164645e205
This sets up normal Gradle tasks for building my objc libraries,
building
test executables, and running tests.I think folks might want to use Xcode pods or Gradle builds, and the
core
plugin probably should not enforce either. Neither actually are very
coupled to j2objc, which is purely translation. I propose we have a
tools/
subdirectory or similar that supports pods and gradle native builds,
so
users can choose what they want.** For many reasons, most importantly:
- Xcode doesn't handle non-flat source directories very well.
- I prefer to use one build toolchain (and one IDE when needed,
IDEA/Android Studio) without denormalization/duplication of
configuration.- Using a single Gradle build ensures a single presubmit/build
command
builds and tests all platforms and all flavors of my projects.—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/76.—
Reply to this email directly or view it on GitHub
<https://github.com/brunobowden/j2objc-gradle/issues/76#issuecomment-104062500
.
—
Reply to this email directly or view it on GitHub
<
https://github.com/brunobowden/j2objc-gradle/issues/76#issuecomment-107261781.
—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/76#issuecomment-107261916
.
from j2objc-gradle.
@advayDev1 Not sure what you are talking about but I will have a look at your documentation.
from j2objc-gradle.
For now take a look at the gist linked to from the first post. It is close
to what I have running internally and should be self explanatory if you
also read the gradle native build link in the same post.
Re my last comment: In gradle 2.4 they made native compiles run in parallel
according to the number of cores you have.
On Sun, May 31, 2015, 5:35 PM Michael Gorski [email protected]
wrote:
@advayDev1 https://github.com/advayDev1 Not sure what you are talking
about but I will have a look at your documentation.—
Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/76#issuecomment-107269859
.
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.