Commit Graph

12 Commits

Author SHA1 Message Date
Aurimas Liutikas
f2e4985ba0 Update default Java level for idegen.
This sets it to 1.8 instead of 1.7 as Android now allows using
1.8 java language.

Bug: 38140365
Test: Ran idegen and now java language is set to 1.8 in Intellij
Change-Id: I1a1f0970357f42c3bc5ded9b3f17692812ea130a
2017-05-09 08:08:07 -07:00
Yohei Yukawa
0cc92c5011 Merge "Modify Idegen to open project with Android facet" am: b8159cc98c
am: 273207859c

* commit '273207859c732ca3233d0b90f587a4e2f7ebd54c':
  Modify Idegen to open project with Android facet
2016-01-21 05:31:21 +00:00
dbgsprw
ec27ae9a22 Modify Idegen to open project with Android facet
Previously, After idegen command executed, Android Studio
and Intellij didn't start with Android facet.

Android Device Monitor, AVD, etc are necessary,
so edit template android.iml for opening project with them.

Change-Id: I7734e45afc268aa4eabdd96854c775452f8426a7
Signed-off-by: dbgsprw <dbgsprw@gmail.com>
2016-01-21 02:18:32 +00:00
Yohei Yukawa
a6b714374d Merge "Updating Idegen project to use JDK 1.7" am: 72f24a0fa1
am: f499ad0961

* commit 'f499ad096171639c013c0ec21f730ed25da34998':
  Updating Idegen project to use JDK 1.7
2015-12-15 08:17:48 -08:00
Michael
6836ddf514 Updating Idegen project to use JDK 1.7
Updating Idegen intellij template to use JDK 1.7, which is required for
marshmallow.

Change-Id: I4ad02acb19fa850a62b6a25bbbaf4db2577a9fe0
2015-12-06 13:54:56 +01:00
Xiaohui Chen
e472fe6d27 intellij-gen: fix git root problem
Some module dir may not be the git root itself.  Some modules may
share the same git root. e.g. "development/tools/apkcheck" module's
git root is "development/".  So we need to look at the parent
directories too when going through all the modules.

Change-Id: Id2ce859efc0d5f6286eb8545fd6a21244e7d40a6
2015-04-29 20:50:18 -07:00
Xiaohui Chen
b6615dc7f0 intellij-gen: default to use jdk 1.7
1.7 language features seems already used in Android codebase.  Let's
move the generated project config to match that.

Change-Id: I0269f2e73417393bcd7894356caaea5c48b9d0e1
2015-04-27 14:45:10 -07:00
Chiao Cheng
ac0a18e095 Adding new script to generate Intellij projects.
- Creates modules and includes only dependencies that are needed by
the parent module instead of including the entire source tree. The
new structure makes intellij much more responsive and fast.
- Adds proper android facets when AndroidManifest.xml exists for
quick resource lookup.
- Automatically includes intermediates directory for generated R files.
- Exclusion of un-neccessary language resource folders from id lookups.
- Automatic vcs configuration for git roots.
- Multi-module make file support.
- Aggregate modules for multi-module make files.

Change-Id: I181670b269faa1cc3ab257692833821fab20f73c
2012-08-08 17:23:48 -07:00
Chiao Cheng
797198bbe0 Updating intellij idegen project template to use jdk 1.6.
Also excluding prebuilt jars from classpath. These include all
previous versions of the android sdk jars. Increased heap size to 800
so google intellij plugin does not complain. Changed default
configuration to use global code style insead of per project code
style.

Change-Id: If97550000fdc282cf6d506eb80b830ff4c1b87b9
2012-06-01 15:27:36 -07:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
e943f2fd8e Code drop from //branches/cupcake/...@124589 2008-12-17 18:04:04 -08:00