Browse Source

Modify project to build using gradle.

master
Sebastian Kaspari 8 years ago
parent
commit
175254e652
  1. 7
      .gitignore
  2. 1
      app/.gitignore
  3. 29
      app/build.gradle
  4. 17
      app/proguard-rules.pro
  5. 0
      app/src/main/AndroidManifest.xml
  6. 0
      app/src/main/java/org/jibble/pircbot/Colors.java
  7. 0
      app/src/main/java/org/jibble/pircbot/DccChat.java
  8. 0
      app/src/main/java/org/jibble/pircbot/DccFileTransfer.java
  9. 0
      app/src/main/java/org/jibble/pircbot/DccManager.java
  10. 0
      app/src/main/java/org/jibble/pircbot/IdentServer.java
  11. 0
      app/src/main/java/org/jibble/pircbot/InputThread.java
  12. 0
      app/src/main/java/org/jibble/pircbot/IrcException.java
  13. 0
      app/src/main/java/org/jibble/pircbot/NickAlreadyInUseException.java
  14. 0
      app/src/main/java/org/jibble/pircbot/OutputThread.java
  15. 0
      app/src/main/java/org/jibble/pircbot/PircBot.java
  16. 0
      app/src/main/java/org/jibble/pircbot/Queue.java
  17. 0
      app/src/main/java/org/jibble/pircbot/ReplyConstants.java
  18. 0
      app/src/main/java/org/jibble/pircbot/User.java
  19. 0
      app/src/main/java/org/yaaic/Yaaic.java
  20. 0
      app/src/main/java/org/yaaic/activity/AboutActivity.java
  21. 0
      app/src/main/java/org/yaaic/activity/AddAliasActivity.java
  22. 0
      app/src/main/java/org/yaaic/activity/AddChannelActivity.java
  23. 0
      app/src/main/java/org/yaaic/activity/AddCommandsActivity.java
  24. 0
      app/src/main/java/org/yaaic/activity/AddServerActivity.java
  25. 0
      app/src/main/java/org/yaaic/activity/AuthenticationActivity.java
  26. 0
      app/src/main/java/org/yaaic/activity/ConversationActivity.java
  27. 0
      app/src/main/java/org/yaaic/activity/JoinActivity.java
  28. 0
      app/src/main/java/org/yaaic/activity/MessageActivity.java
  29. 0
      app/src/main/java/org/yaaic/activity/ServersActivity.java
  30. 0
      app/src/main/java/org/yaaic/activity/SettingsActivity.java
  31. 0
      app/src/main/java/org/yaaic/activity/UserActivity.java
  32. 0
      app/src/main/java/org/yaaic/activity/UsersActivity.java
  33. 0
      app/src/main/java/org/yaaic/adapter/ConversationPagerAdapter.java
  34. 0
      app/src/main/java/org/yaaic/adapter/MessageListAdapter.java
  35. 0
      app/src/main/java/org/yaaic/adapter/ServerListAdapter.java
  36. 0
      app/src/main/java/org/yaaic/adapter/UserActionListAdapter.java
  37. 0
      app/src/main/java/org/yaaic/adapter/ViewPagerAdapter.java
  38. 0
      app/src/main/java/org/yaaic/command/BaseHandler.java
  39. 0
      app/src/main/java/org/yaaic/command/CommandParser.java
  40. 0
      app/src/main/java/org/yaaic/command/handler/AMsgHandler.java
  41. 0
      app/src/main/java/org/yaaic/command/handler/AwayHandler.java
  42. 0
      app/src/main/java/org/yaaic/command/handler/BackHandler.java
  43. 0
      app/src/main/java/org/yaaic/command/handler/CloseHandler.java
  44. 0
      app/src/main/java/org/yaaic/command/handler/DCCHandler.java
  45. 0
      app/src/main/java/org/yaaic/command/handler/DeopHandler.java
  46. 0
      app/src/main/java/org/yaaic/command/handler/DevoiceHandler.java
  47. 0
      app/src/main/java/org/yaaic/command/handler/EchoHandler.java
  48. 0
      app/src/main/java/org/yaaic/command/handler/HelpHandler.java
  49. 0
      app/src/main/java/org/yaaic/command/handler/JoinHandler.java
  50. 0
      app/src/main/java/org/yaaic/command/handler/KickHandler.java
  51. 0
      app/src/main/java/org/yaaic/command/handler/MeHandler.java
  52. 0
      app/src/main/java/org/yaaic/command/handler/ModeHandler.java
  53. 0
      app/src/main/java/org/yaaic/command/handler/MsgHandler.java
  54. 0
      app/src/main/java/org/yaaic/command/handler/NamesHandler.java
  55. 0
      app/src/main/java/org/yaaic/command/handler/NickHandler.java
  56. 0
      app/src/main/java/org/yaaic/command/handler/NoticeHandler.java
  57. 0
      app/src/main/java/org/yaaic/command/handler/OpHandler.java
  58. 0
      app/src/main/java/org/yaaic/command/handler/PartHandler.java
  59. 0
      app/src/main/java/org/yaaic/command/handler/QueryHandler.java
  60. 0
      app/src/main/java/org/yaaic/command/handler/QuitHandler.java
  61. 0
      app/src/main/java/org/yaaic/command/handler/RawHandler.java
  62. 0
      app/src/main/java/org/yaaic/command/handler/TopicHandler.java
  63. 0
      app/src/main/java/org/yaaic/command/handler/VoiceHandler.java
  64. 0
      app/src/main/java/org/yaaic/command/handler/WhoisHandler.java
  65. 0
      app/src/main/java/org/yaaic/db/AliasConstants.java
  66. 0
      app/src/main/java/org/yaaic/db/ChannelConstants.java
  67. 0
      app/src/main/java/org/yaaic/db/CommandConstants.java
  68. 0
      app/src/main/java/org/yaaic/db/Database.java
  69. 0
      app/src/main/java/org/yaaic/db/IdentityConstants.java
  70. 0
      app/src/main/java/org/yaaic/db/ServerConstants.java
  71. 0
      app/src/main/java/org/yaaic/exception/CommandException.java
  72. 0
      app/src/main/java/org/yaaic/exception/ValidationException.java
  73. 0
      app/src/main/java/org/yaaic/indicator/ConversationIndicator.java
  74. 0
      app/src/main/java/org/yaaic/indicator/ConversationStateProvider.java
  75. 0
      app/src/main/java/org/yaaic/indicator/ConversationTitlePageIndicator.java
  76. 0
      app/src/main/java/org/yaaic/irc/IRCBinder.java
  77. 0
      app/src/main/java/org/yaaic/irc/IRCConnection.java
  78. 0
      app/src/main/java/org/yaaic/irc/IRCService.java
  79. 0
      app/src/main/java/org/yaaic/listener/ConversationListener.java
  80. 0
      app/src/main/java/org/yaaic/listener/ConversationSelectedListener.java
  81. 0
      app/src/main/java/org/yaaic/listener/MessageClickListener.java
  82. 0
      app/src/main/java/org/yaaic/listener/ServerListener.java
  83. 0
      app/src/main/java/org/yaaic/listener/SpeechClickListener.java
  84. 0
      app/src/main/java/org/yaaic/model/Authentication.java
  85. 0
      app/src/main/java/org/yaaic/model/Broadcast.java
  86. 0
      app/src/main/java/org/yaaic/model/Channel.java
  87. 0
      app/src/main/java/org/yaaic/model/Conversation.java
  88. 0
      app/src/main/java/org/yaaic/model/Extra.java
  89. 0
      app/src/main/java/org/yaaic/model/Identity.java
  90. 0
      app/src/main/java/org/yaaic/model/Message.java
  91. 0
      app/src/main/java/org/yaaic/model/Query.java
  92. 0
      app/src/main/java/org/yaaic/model/Scrollback.java
  93. 0
      app/src/main/java/org/yaaic/model/Server.java
  94. 0
      app/src/main/java/org/yaaic/model/ServerInfo.java
  95. 0
      app/src/main/java/org/yaaic/model/Settings.java
  96. 0
      app/src/main/java/org/yaaic/model/Status.java
  97. 0
      app/src/main/java/org/yaaic/model/User.java
  98. 0
      app/src/main/java/org/yaaic/receiver/ConversationReceiver.java
  99. 0
      app/src/main/java/org/yaaic/receiver/ReconnectReceiver.java
  100. 0
      app/src/main/java/org/yaaic/receiver/ServerReceiver.java
  101. Some files were not shown because too many files have changed in this diff Show More

7
.gitignore vendored

@ -1,5 +1,12 @@ @@ -1,5 +1,12 @@
# Git Ignore for Yaaic
# Android Studio & Gradle
*.iml
build/
.gradle/
.idea/
# Compiled and generated files
bin/
gen/

1
app/.gitignore vendored

@ -0,0 +1 @@ @@ -0,0 +1 @@
/build

29
app/build.gradle

@ -0,0 +1,29 @@ @@ -0,0 +1,29 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.1"
defaultConfig {
applicationId "org.yaaic"
minSdkVersion 21
targetSdkVersion 21
versionCode 1
versionName "2.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0@aar'
compile 'com.android.support:support-v4:18.0.+'
compile 'com.viewpagerindicator:library:2.4.1@aar'
}

17
app/proguard-rules.pro vendored

@ -0,0 +1,17 @@ @@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Applications/Android-SDK/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

0
application/AndroidManifest.xml → app/src/main/AndroidManifest.xml

0
application/src/org/jibble/pircbot/Colors.java → app/src/main/java/org/jibble/pircbot/Colors.java

0
application/src/org/jibble/pircbot/DccChat.java → app/src/main/java/org/jibble/pircbot/DccChat.java

0
application/src/org/jibble/pircbot/DccFileTransfer.java → app/src/main/java/org/jibble/pircbot/DccFileTransfer.java

0
application/src/org/jibble/pircbot/DccManager.java → app/src/main/java/org/jibble/pircbot/DccManager.java

0
application/src/org/jibble/pircbot/IdentServer.java → app/src/main/java/org/jibble/pircbot/IdentServer.java

0
application/src/org/jibble/pircbot/InputThread.java → app/src/main/java/org/jibble/pircbot/InputThread.java

0
application/src/org/jibble/pircbot/IrcException.java → app/src/main/java/org/jibble/pircbot/IrcException.java

0
application/src/org/jibble/pircbot/NickAlreadyInUseException.java → app/src/main/java/org/jibble/pircbot/NickAlreadyInUseException.java

0
application/src/org/jibble/pircbot/OutputThread.java → app/src/main/java/org/jibble/pircbot/OutputThread.java

0
application/src/org/jibble/pircbot/PircBot.java → app/src/main/java/org/jibble/pircbot/PircBot.java

0
application/src/org/jibble/pircbot/Queue.java → app/src/main/java/org/jibble/pircbot/Queue.java

0
application/src/org/jibble/pircbot/ReplyConstants.java → app/src/main/java/org/jibble/pircbot/ReplyConstants.java

0
application/src/org/jibble/pircbot/User.java → app/src/main/java/org/jibble/pircbot/User.java

0
application/src/org/yaaic/Yaaic.java → app/src/main/java/org/yaaic/Yaaic.java

0
application/src/org/yaaic/activity/AboutActivity.java → app/src/main/java/org/yaaic/activity/AboutActivity.java

0
application/src/org/yaaic/activity/AddAliasActivity.java → app/src/main/java/org/yaaic/activity/AddAliasActivity.java

0
application/src/org/yaaic/activity/AddChannelActivity.java → app/src/main/java/org/yaaic/activity/AddChannelActivity.java

0
application/src/org/yaaic/activity/AddCommandsActivity.java → app/src/main/java/org/yaaic/activity/AddCommandsActivity.java

0
application/src/org/yaaic/activity/AddServerActivity.java → app/src/main/java/org/yaaic/activity/AddServerActivity.java

0
application/src/org/yaaic/activity/AuthenticationActivity.java → app/src/main/java/org/yaaic/activity/AuthenticationActivity.java

0
application/src/org/yaaic/activity/ConversationActivity.java → app/src/main/java/org/yaaic/activity/ConversationActivity.java

0
application/src/org/yaaic/activity/JoinActivity.java → app/src/main/java/org/yaaic/activity/JoinActivity.java

0
application/src/org/yaaic/activity/MessageActivity.java → app/src/main/java/org/yaaic/activity/MessageActivity.java

0
application/src/org/yaaic/activity/ServersActivity.java → app/src/main/java/org/yaaic/activity/ServersActivity.java

0
application/src/org/yaaic/activity/SettingsActivity.java → app/src/main/java/org/yaaic/activity/SettingsActivity.java

0
application/src/org/yaaic/activity/UserActivity.java → app/src/main/java/org/yaaic/activity/UserActivity.java

0
application/src/org/yaaic/activity/UsersActivity.java → app/src/main/java/org/yaaic/activity/UsersActivity.java

0
application/src/org/yaaic/adapter/ConversationPagerAdapter.java → app/src/main/java/org/yaaic/adapter/ConversationPagerAdapter.java

0
application/src/org/yaaic/adapter/MessageListAdapter.java → app/src/main/java/org/yaaic/adapter/MessageListAdapter.java

0
application/src/org/yaaic/adapter/ServerListAdapter.java → app/src/main/java/org/yaaic/adapter/ServerListAdapter.java

0
application/src/org/yaaic/adapter/UserActionListAdapter.java → app/src/main/java/org/yaaic/adapter/UserActionListAdapter.java

0
application/src/org/yaaic/adapter/ViewPagerAdapter.java → app/src/main/java/org/yaaic/adapter/ViewPagerAdapter.java

0
application/src/org/yaaic/command/BaseHandler.java → app/src/main/java/org/yaaic/command/BaseHandler.java

0
application/src/org/yaaic/command/CommandParser.java → app/src/main/java/org/yaaic/command/CommandParser.java

0
application/src/org/yaaic/command/handler/AMsgHandler.java → app/src/main/java/org/yaaic/command/handler/AMsgHandler.java

0
application/src/org/yaaic/command/handler/AwayHandler.java → app/src/main/java/org/yaaic/command/handler/AwayHandler.java

0
application/src/org/yaaic/command/handler/BackHandler.java → app/src/main/java/org/yaaic/command/handler/BackHandler.java

0
application/src/org/yaaic/command/handler/CloseHandler.java → app/src/main/java/org/yaaic/command/handler/CloseHandler.java

0
application/src/org/yaaic/command/handler/DCCHandler.java → app/src/main/java/org/yaaic/command/handler/DCCHandler.java

0
application/src/org/yaaic/command/handler/DeopHandler.java → app/src/main/java/org/yaaic/command/handler/DeopHandler.java

0
application/src/org/yaaic/command/handler/DevoiceHandler.java → app/src/main/java/org/yaaic/command/handler/DevoiceHandler.java

0
application/src/org/yaaic/command/handler/EchoHandler.java → app/src/main/java/org/yaaic/command/handler/EchoHandler.java

0
application/src/org/yaaic/command/handler/HelpHandler.java → app/src/main/java/org/yaaic/command/handler/HelpHandler.java

0
application/src/org/yaaic/command/handler/JoinHandler.java → app/src/main/java/org/yaaic/command/handler/JoinHandler.java

0
application/src/org/yaaic/command/handler/KickHandler.java → app/src/main/java/org/yaaic/command/handler/KickHandler.java

0
application/src/org/yaaic/command/handler/MeHandler.java → app/src/main/java/org/yaaic/command/handler/MeHandler.java

0
application/src/org/yaaic/command/handler/ModeHandler.java → app/src/main/java/org/yaaic/command/handler/ModeHandler.java

0
application/src/org/yaaic/command/handler/MsgHandler.java → app/src/main/java/org/yaaic/command/handler/MsgHandler.java

0
application/src/org/yaaic/command/handler/NamesHandler.java → app/src/main/java/org/yaaic/command/handler/NamesHandler.java

0
application/src/org/yaaic/command/handler/NickHandler.java → app/src/main/java/org/yaaic/command/handler/NickHandler.java

0
application/src/org/yaaic/command/handler/NoticeHandler.java → app/src/main/java/org/yaaic/command/handler/NoticeHandler.java

0
application/src/org/yaaic/command/handler/OpHandler.java → app/src/main/java/org/yaaic/command/handler/OpHandler.java

0
application/src/org/yaaic/command/handler/PartHandler.java → app/src/main/java/org/yaaic/command/handler/PartHandler.java

0
application/src/org/yaaic/command/handler/QueryHandler.java → app/src/main/java/org/yaaic/command/handler/QueryHandler.java

0
application/src/org/yaaic/command/handler/QuitHandler.java → app/src/main/java/org/yaaic/command/handler/QuitHandler.java

0
application/src/org/yaaic/command/handler/RawHandler.java → app/src/main/java/org/yaaic/command/handler/RawHandler.java

0
application/src/org/yaaic/command/handler/TopicHandler.java → app/src/main/java/org/yaaic/command/handler/TopicHandler.java

0
application/src/org/yaaic/command/handler/VoiceHandler.java → app/src/main/java/org/yaaic/command/handler/VoiceHandler.java

0
application/src/org/yaaic/command/handler/WhoisHandler.java → app/src/main/java/org/yaaic/command/handler/WhoisHandler.java

0
application/src/org/yaaic/db/AliasConstants.java → app/src/main/java/org/yaaic/db/AliasConstants.java

0
application/src/org/yaaic/db/ChannelConstants.java → app/src/main/java/org/yaaic/db/ChannelConstants.java

0
application/src/org/yaaic/db/CommandConstants.java → app/src/main/java/org/yaaic/db/CommandConstants.java

0
application/src/org/yaaic/db/Database.java → app/src/main/java/org/yaaic/db/Database.java

0
application/src/org/yaaic/db/IdentityConstants.java → app/src/main/java/org/yaaic/db/IdentityConstants.java

0
application/src/org/yaaic/db/ServerConstants.java → app/src/main/java/org/yaaic/db/ServerConstants.java

0
application/src/org/yaaic/exception/CommandException.java → app/src/main/java/org/yaaic/exception/CommandException.java

0
application/src/org/yaaic/exception/ValidationException.java → app/src/main/java/org/yaaic/exception/ValidationException.java

0
application/src/org/yaaic/indicator/ConversationIndicator.java → app/src/main/java/org/yaaic/indicator/ConversationIndicator.java

0
application/src/org/yaaic/indicator/ConversationStateProvider.java → app/src/main/java/org/yaaic/indicator/ConversationStateProvider.java

0
application/src/org/yaaic/indicator/ConversationTitlePageIndicator.java → app/src/main/java/org/yaaic/indicator/ConversationTitlePageIndicator.java

0
application/src/org/yaaic/irc/IRCBinder.java → app/src/main/java/org/yaaic/irc/IRCBinder.java

0
application/src/org/yaaic/irc/IRCConnection.java → app/src/main/java/org/yaaic/irc/IRCConnection.java

0
application/src/org/yaaic/irc/IRCService.java → app/src/main/java/org/yaaic/irc/IRCService.java

0
application/src/org/yaaic/listener/ConversationListener.java → app/src/main/java/org/yaaic/listener/ConversationListener.java

0
application/src/org/yaaic/listener/ConversationSelectedListener.java → app/src/main/java/org/yaaic/listener/ConversationSelectedListener.java

0
application/src/org/yaaic/listener/MessageClickListener.java → app/src/main/java/org/yaaic/listener/MessageClickListener.java

0
application/src/org/yaaic/listener/ServerListener.java → app/src/main/java/org/yaaic/listener/ServerListener.java

0
application/src/org/yaaic/listener/SpeechClickListener.java → app/src/main/java/org/yaaic/listener/SpeechClickListener.java

0
application/src/org/yaaic/model/Authentication.java → app/src/main/java/org/yaaic/model/Authentication.java

0
application/src/org/yaaic/model/Broadcast.java → app/src/main/java/org/yaaic/model/Broadcast.java

0
application/src/org/yaaic/model/Channel.java → app/src/main/java/org/yaaic/model/Channel.java

0
application/src/org/yaaic/model/Conversation.java → app/src/main/java/org/yaaic/model/Conversation.java

0
application/src/org/yaaic/model/Extra.java → app/src/main/java/org/yaaic/model/Extra.java

0
application/src/org/yaaic/model/Identity.java → app/src/main/java/org/yaaic/model/Identity.java

0
application/src/org/yaaic/model/Message.java → app/src/main/java/org/yaaic/model/Message.java

0
application/src/org/yaaic/model/Query.java → app/src/main/java/org/yaaic/model/Query.java

0
application/src/org/yaaic/model/Scrollback.java → app/src/main/java/org/yaaic/model/Scrollback.java

0
application/src/org/yaaic/model/Server.java → app/src/main/java/org/yaaic/model/Server.java

0
application/src/org/yaaic/model/ServerInfo.java → app/src/main/java/org/yaaic/model/ServerInfo.java

0
application/src/org/yaaic/model/Settings.java → app/src/main/java/org/yaaic/model/Settings.java

0
application/src/org/yaaic/model/Status.java → app/src/main/java/org/yaaic/model/Status.java

0
application/src/org/yaaic/model/User.java → app/src/main/java/org/yaaic/model/User.java

0
application/src/org/yaaic/receiver/ConversationReceiver.java → app/src/main/java/org/yaaic/receiver/ConversationReceiver.java

0
application/src/org/yaaic/receiver/ReconnectReceiver.java → app/src/main/java/org/yaaic/receiver/ReconnectReceiver.java

0
application/src/org/yaaic/receiver/ServerReceiver.java → app/src/main/java/org/yaaic/receiver/ServerReceiver.java

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save