Skip to content

Commit 6d3f0d1

Browse files
v1.0.0+gh.r2
1 parent 40ff0d6 commit 6d3f0d1

File tree

2,564 files changed

+126479
-57786
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,564 files changed

+126479
-57786
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,11 @@
7676

7777
## Limitations
7878

79-
- For working with projects in AndroidIDE, your project must use Android Gradle Plugin v7.2.0 or
79+
- For working with projects in AndroidCodeStudio, your project must use Android Gradle Plugin v7.2.0 or
8080
newer. Projects with older AGP must be migrated to newer versions.
8181
- SDK Manager is already included in Android SDK and is accessible in Android Code Studio via its Terminal.
8282
But, you cannot use it to install some tools (like NDK) because those tools are not built for
8383
Android.
84-
- No official NDK support because we haven't built the NDK for Android.
8584

8685
The app is still being developed actively. It's in beta stage and may not be stable. if you have any
8786
issues using the app, please let us know.
@@ -114,18 +113,18 @@ Thanks to all the developers who have contributed to this project.
114113
## License
115114

116115
```
117-
AndroidIDE-Rv2 ( Versions ≤ v2.7.4-r1.02 ) is free software: you can redistribute it and/or modify
116+
AndroidCodeStudio is free software: you can redistribute it and/or modify
118117
it under the terms of the GNU General Public License as published by
119118
the Free Software Foundation, either version 3 of the License, or
120119
(at your option) any later version.
121120
122-
AndroidIDE-Rv2 is distributed in the hope that it will be useful,
121+
AndroidCodeStudio is distributed in the hope that it will be useful,
123122
but WITHOUT ANY WARRANTY; without even the implied warranty of
124123
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
125124
GNU General Public License for more details.
126125
127126
You should have received a copy of the GNU General Public License
128-
along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
127+
along with AndroidCodeStudio. If not, see <https://www.gnu.org/licenses/>.
129128
```
130129

131130
Any violations to the license can be reported either by opening an issue or writing a mail to us

annotation/annotations/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import com.itsaky.androidide.build.config.BuildConfig
1+
import com.tom.rv2ide.build.config.BuildConfig
22

33
/*
44
* This file is part of AndroidIDE.

annotation/annotations/src/main/java/com/itsaky/androidide/annotations/inflater/ViewAdapter.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@ import kotlin.reflect.KClass
2525
*
2626
* @property forView The view that this adpater handles.
2727
* @property moduleNamespace The package name of the artifact/module in which the [view][forView] is
28-
* declared. Set to `android` by default.
28+
* declared. Set to `android` by default.
2929
* @author Akash Yadav
3030
*/
3131
@Target(CLASS)
3232
@Retention(AnnotationRetention.SOURCE)
33-
annotation class ViewAdapter(val forView: KClass<out View>, val moduleNamespace: String = "android")
33+
annotation class ViewAdapter(
34+
val forView: KClass<out View>,
35+
val moduleNamespace: String = "android",
36+
)

annotation/annotations/src/main/java/com/itsaky/androidide/annotations/uidesigner/IncludeInDesigner.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ annotation class IncludeInDesigner(val group: Group) {
3232
WIDGETS,
3333

3434
/** Includes the Android platform layouts. */
35-
LAYOUTS
35+
LAYOUTS,
3636
}
3737
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* This file is part of AndroidIDE.
3+
*
4+
* AndroidIDE is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation, either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* AndroidIDE is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
package com.tom.rv2ide.annotations.inflater
18+
19+
import android.view.View
20+
import kotlin.annotation.AnnotationTarget.CLASS
21+
import kotlin.reflect.KClass
22+
23+
/**
24+
* Annotation used to indicate that a class is an attribute adapater for the given view class.
25+
*
26+
* @property forView The view that this adpater handles.
27+
* @property moduleNamespace The package name of the artifact/module in which the [view][forView] is
28+
* declared. Set to `android` by default.
29+
* @author Akash Yadav
30+
*/
31+
@Target(CLASS)
32+
@Retention(AnnotationRetention.SOURCE)
33+
annotation class ViewAdapter(
34+
val forView: KClass<out View>,
35+
val moduleNamespace: String = "android",
36+
)
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* This file is part of AndroidIDE.
3+
*
4+
* AndroidIDE is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation, either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* AndroidIDE is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
18+
package com.tom.rv2ide.annotations.uidesigner
19+
20+
/**
21+
* Indicates that the view (whose view adapter is annotated with [ViewAdapter]
22+
* [com.tom.rv2ide.annotations.inflater.ViewAdapter] and [IncludeInDesigner]) should be included in
23+
* the UI Designer and made accessible to the user.
24+
*
25+
* @author Akash Yadav
26+
* @modification [++GOOGLE] Mohammed-baqer-null @ https://github.com/Mohammed-baqer-null
27+
*/
28+
annotation class IncludeInDesigner(val group: Group) {
29+
30+
/** The widget groups that are available in the UI Designer. */
31+
enum class Group {
32+
/** Includes the Android platform widgets. */
33+
WIDGETS,
34+
35+
/** Includes the Android platform layouts. */
36+
LAYOUTS,
37+
38+
/** Includes the Google layouts. */
39+
GOOGLE,
40+
}
41+
}

annotation/processors-ksp/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818

19-
import com.itsaky.androidide.build.config.BuildConfig
19+
import com.tom.rv2ide.build.config.BuildConfig
2020
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2121

2222
plugins {
@@ -44,5 +44,7 @@ sourceSets.main {
4444
}
4545

4646
tasks.withType<KotlinCompile> {
47-
kotlinOptions.jvmTarget = "17"
47+
compilerOptions {
48+
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
49+
}
4850
}

0 commit comments

Comments
 (0)